Guillermo.Arrieta
527f3aa56f
Se inserta el plan de estudios y se mandan crear los datos generales en segundo plano, y la edge funcion de openai-webhook-responses recibe la respuesta para actualizar el plan de estudio con los datos generales
2026-02-25 17:39:09 -06:00
Guillermo.Arrieta
9263587f0b
openai-webhook-responces recibe peticiones y hace log de las responses
2026-02-25 15:24:57 -06:00
roberto.silva
2552a796a6
Merge pull request 'Corregir Edge Function #36 ' ( #37 ) from issue/36-corregir-edge-function into main
...
Deploy Function / deploy (push) Successful in 24s
Deploy Migrations to Production / deploy (push) Successful in 14s
Reviewed-on: AlexRG/genesis-2#37
2026-02-25 20:43:19 +00:00
roberto.silva
44919f074d
Corregir Edge Function
...
fix#36
2026-02-25 14:42:42 -06:00
Guillermo.Arrieta
8aeb1d0a64
version con express js que no funciona
2026-02-25 12:17:59 -06:00
alexrg
824db85305
fix: simplify refusal handling in message response by removing is-refusal field
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 13s
2026-02-25 10:04:08 -06:00
alexrg
5fae2165b0
fix: change variable declaration from let to const for output in pickSchemaFields function
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 12s
2026-02-25 08:23:10 -06:00
alexrg
738d3970e3
fix: ensure campos is always an array in pickSchemaFields function
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-25 08:03:00 -06:00
alexrg
009e65d327
fix: remove required fields and additional properties from message schema
Deploy Function / deploy (push) Successful in 24s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-02-24 16:12:22 -06:00
alexrg
e43927f1b1
fix: add required fields and restrict additional properties in message schema
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-24 15:28:56 -06:00
alexrg
e906fe258c
fix: remove unnecessary JSON.stringify for appended parameter in message handling
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-24 15:26:15 -06:00
alexrg
44c86cfa13
fix: rename parameter from p_appended to p_append in message handling
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-02-24 15:24:50 -06:00
alexrg
e81a8bd6a5
Merge pull request 'Agregar conversaciones a la tabla como respaldo #33 ' ( #34 ) from issue/33-agregar-conversaciones-a-la-tabla-como-respaldo into main
...
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 10s
Reviewed-on: AlexRG/genesis-2#34
2026-02-24 21:21:18 +00:00
alexrg
c7bd107297
refactor: remove unused functions for appending conversations in the database
2026-02-24 15:20:24 -06:00
alexrg
7ee9944ab5
feat: add @toon-format/toon dependency and integrate into OpenAI notebooks
...
- Updated deno.lock and package.json to include @toon-format/toon@^2.1.0.
- Modified background-openai.ipynb to handle error responses and adjust execution counts.
- Enhanced definitions-openai.ipynb to include additional metadata for perishables and origen schemas.
- Refactored embeddings-openai.ipynb to improve error handling and output formatting.
- Updated create-chat-conversation function to append messages and responses to conversations.
- Added SQL functions for appending conversation data to the database.
2026-02-24 15:20:19 -06:00
Guillermo.Arrieta
dcaeeb72dd
Merge pull request 'Se genera el contenido temático con IA' ( #32 ) from issue/31-generacin-de-columnas-de-tabla-asignaturas-con-ia into main
...
Deploy Function / deploy (push) Successful in 21s
Deploy Migrations to Production / deploy (push) Successful in 11s
Reviewed-on: AlexRG/genesis-2#32
2026-02-23 23:08:41 +00:00
Guillermo.Arrieta
26c6ad7c20
close #31 : Se genera el contenido temático con la IA
2026-02-23 17:06:34 -06:00
roberto.silva
49b1a9805b
Se agrega columna nombre de chat
Deploy Function / deploy (push) Successful in 1m33s
Deploy Migrations to Production / deploy (push) Successful in 18s
2026-02-23 15:23:57 -06:00
alexrg
ef706dcf17
Agregar manejo de errores en la respuesta de la IA en el notebook de OpenAI
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-20 11:54:03 -06:00
alexrg
d029fa23e7
Agregar notebook para integración con OpenAI y Supabase
Deploy Function / deploy (push) Has been cancelled
Deploy Migrations to Production / deploy (push) Has been cancelled
2026-02-20 11:53:50 -06:00
alexrg
f816e31b63
Actualizar conteo de ejecución y corregir IDs en el notebook de conversaciones de OpenAI
2026-02-20 11:00:41 -06:00
Guillermo.Arrieta
38e1488c8c
Se añade un event listener que loggea cuando se va a apagar la función
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-19 13:06:34 -06:00
Guillermo.Arrieta
a028fd459f
hotfix 2: archivo de migración sobrante
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-02-18 17:50:26 -06:00
Guillermo.Arrieta
db3355f8ca
hotfix: nombre de migración sincronizado con BDD remota
Deploy Function / deploy (push) Successful in 21s
Deploy Migrations to Production / deploy (push) Failing after 12s
2026-02-18 17:45:34 -06:00
Guillermo.Arrieta
5c27e61ce4
Fue arreglado trigger de trg_planes_estudio_log_cambios y se le hizo squash a las migraciones de la BDD
Deploy Function / deploy (push) Successful in 21s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-18 16:29:27 -06:00
alexrg
4b0b8e6a95
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 21s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-02-18 09:20:56 -06:00
alexrg
ef42d74fea
fix: remove conversation_id update logic from cambios_plan trigger
2026-02-18 09:20:54 -06:00
alexrg
feaad85fda
Actualizar supabase/functions/create-chat-conversation/lib/cors.ts
Deploy Function / deploy (push) Successful in 30s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-02-17 21:59:33 +00:00
alexrg
21469b3b4c
Actualizar supabase/functions/create-chat-conversation/lib/cors.ts
Deploy Function / deploy (push) Successful in 32s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-17 21:55:45 +00:00
alexrg
329faac742
fix: remove unnecessary constraint from planes_estudio table
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-17 11:31:12 -06:00
alexrg
fed348e214
fix: update query text and similarity values in embeddings example
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-17 11:28:29 -06:00
alexrg
63e0ea7fbf
feat: add OpenAI embeddings functionality and update Supabase migration
Deploy Function / deploy (push) Has been cancelled
Deploy Migrations to Production / deploy (push) Has been cancelled
2026-02-17 11:28:00 -06:00
alexrg
6dc3167bc4
Merge pull request 'Actualizar supabase/functions/create-chat-conversation/lib/plan.ts' ( #30 ) from hot-fix/ningun-campo-si-vacío into main
...
Deploy Function / deploy (push) Successful in 21s
Deploy Migrations to Production / deploy (push) Successful in 11s
Reviewed-on: AlexRG/genesis-2#30
2026-02-16 23:36:08 +00:00
alexrg
c28274334a
Actualizar supabase/functions/create-chat-conversation/lib/plan.ts
...
fix #29
2026-02-16 23:35:10 +00:00
Guillermo.Arrieta
a92fc6ac26
hotfix: prompt de formato arreglado para evitar que se muestren cosas como "\n" en el texto final
Deploy Function / deploy (push) Successful in 1m21s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-02-16 17:25:38 -06:00
Guillermo.Arrieta
5a23be9961
Se añadieron indicaciones de formato en los prompts para generación de plan o de asignatura
...
Deploy Function / deploy (push) Successful in 39s
Deploy Migrations to Production / deploy (push) Successful in 11s
close #26
2026-02-16 19:52:21 +00:00
Guillermo.Arrieta
e64c0de529
Se usan modelos de openai a partir de variables de entorno
2026-02-16 19:52:21 +00:00
alexrg
34162c6038
Eliminar .gitea/workflows/ci.yaml
Deploy Function / deploy (push) Successful in 44s
Deploy Migrations to Production / deploy (push) Successful in 13s
2026-02-16 19:09:26 +00:00
alexrg
e7d7f553a3
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 32s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-16 11:28:16 -06:00
alexrg
0a4fc51bf7
feat: add definitions for perishables and origin schemas in new notebook
2026-02-16 11:28:13 -06:00
alexrg
af945cfa69
Actualizar .gitea/workflows/ci.yaml
Deploy Function / deploy (push) Successful in 32s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-16 16:38:20 +00:00
alexrg
afd10eaaf7
Actualizar .gitea/workflows/ci.yaml
Deploy Function / deploy (push) Successful in 53s
Deploy Migrations to Production / deploy (push) Successful in 12s
2026-02-16 16:36:58 +00:00
alexrg
13cf57505f
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 26s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-13 16:12:26 -06:00
alexrg
9d25203ef6
fix: update execution counts and improve message parsing in chat conversation functions
2026-02-13 16:12:23 -06:00
Guillermo.Arrieta
7a81e448f4
hotfix: se cambió el estado default de las asignaturas y se arregló un error donde se requería código de asignatura no nulo
Deploy Function / deploy (push) Successful in 44s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-02-13 12:39:14 -06:00
alexrg
d724bda6f5
Actualizar database-types.ts
CI / test (pull_request) Failing after 3m34s
2026-02-13 16:28:14 +00:00
alexrg
3d407c5b91
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 24s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-13 10:26:45 -06:00
alexrg
2d13995d5d
fix: update type generation script and modify database types structure
2026-02-13 10:26:43 -06:00
alexrg
b583f4c0fd
Merge pull request 'Corregir para que los mensajes se archiven solo con asistente y usuario' ( #24 ) from issue/7-hacer-la-edge-function-que-te-d-sugerencias into main
...
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 15s
Reviewed-on: AlexRG/genesis-2#24
2026-02-13 16:18:23 +00:00
alexrg
b7720496cf
feat: update conversation archiving to store structured message data
CI / test (pull_request) Failing after 7s
2026-02-13 10:17:06 -06:00