Commit Graph

165 Commits

Author SHA1 Message Date
alexrg 13645dc00a Refactor Database type definitions by removing unused fields and adding new entities for person, professor, and student 2026-03-10 07:51:37 -06:00
alexrg 1b715baff6 Añadir .gitea/workflows/ci.yaml
Deploy Function / deploy (push) Successful in 28s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-03-10 01:36:11 +00:00
Guillermo.Arrieta 5958ec15d2 hotfix: identificación de la aplicación para Open Library
Deploy Function / deploy (push) Successful in 26s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-03-09 17:16:12 -06:00
Guillermo.Arrieta 2823c81052 Merge pull request 'Se añadió la peticion a Open Library de bibliografía' (#53) from issue/48-propuesta-de-bibliografas into main
Deploy Function / deploy (push) Successful in 36s
Deploy Migrations to Production / deploy (push) Successful in 14s
Reviewed-on: AlexRG/genesis-2#53
2026-03-09 23:06:37 +00:00
Guillermo.Arrieta e72951d32d Enhance buscar-bibliografia function with Open Library integration and parameter handling 2026-03-09 17:00:29 -06:00
roberto.silva f53273f3e5 Merge pull request 'Chats de ia en segundo plano para asignaturas #51' (#52) from issue/51-chats-de-ia-en-segundo-plano-para-asignaturas into main
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 10s
Reviewed-on: AlexRG/genesis-2#52
2026-03-09 22:31:23 +00:00
roberto.silva 16092e94a3 Chats de ia en segundo plano para asignaturas
fix #51
2026-03-09 16:27:27 -06:00
roberto.silva 244bf9bd38 Merge pull request 'Chats de la IA en segundo plano #42' (#50) from issue/42-chats-de-la-ia-en-segundo-plano into main
Deploy Function / deploy (push) Successful in 1m38s
Deploy Migrations to Production / deploy (push) Successful in 21s
Reviewed-on: AlexRG/genesis-2#50
2026-03-09 20:19:37 +00:00
roberto.silva 275e6f8917 Merge branch 'main' into issue/42-chats-de-la-ia-en-segundo-plano 2026-03-09 20:19:26 +00:00
roberto.silva ed4891594b Se agrega webhook de conversacion plan 2026-03-09 12:45:54 -06:00
Guillermo.Arrieta 5fac762678 close #48: add buscar-bibliografia function with Google Books API integration
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 11s
- Implemented buscar-bibliografia function in index.ts
- Added Deno import map for dependencies in deno.json
- Included request validation and error handling
- Integrated Google Books API to fetch bibliographic data based on search terms
2026-03-06 19:51:46 -06:00
Guillermo.Arrieta c8c1b72964 Pruebas de generación de bibliografía 2026-03-06 11:58:45 -06:00
roberto.silva 749ec7a962 se agrega wh 2026-03-06 11:06:56 -06:00
roberto.silva d844698ffc Chats de la IA en segundo plano se agregan funciones para asignatura
fix #42
2026-03-06 08:44:41 -06:00
Guillermo.Arrieta d7e232eec7 fix #46: Al generar asignaturas la IA también genera su sistema de evaluación
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-03-04 17:48:23 -06:00
Guillermo.Arrieta 994fb3c7bc hotfix: actualizada semilla de BDD y referencia a BDD
Deploy Function / deploy (push) Successful in 23s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-03-04 12:54:17 -06:00
roberto.silva 189225f369 Merge pull request 'Corregir Edge Function fix #36 #44' (#45) from issue/38-ajustar-funcin-para-asignatura into main
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 11s
Reviewed-on: AlexRG/genesis-2#45
2026-03-04 15:33:35 +00:00
roberto.silva 7543afb56f Se resuelve conflicto 2026-03-04 09:31:30 -06:00
roberto.silva 5eb34205e0 Merge pull request 'Corregir Edge Function #36' (#44) from issue/38-ajustar-funcin-para-asignatura into main
Deploy Function / deploy (push) Failing after 15s
Deploy Migrations to Production / deploy (push) Failing after 14s
Reviewed-on: AlexRG/genesis-2#44
2026-03-04 15:29:56 +00:00
roberto.silva 3759f7673a Corregir Edge Function
fix #36
2026-03-04 09:13:16 -06:00
alexrg d4ceac77a9 feat: add logging for JWT refresh and session management in Supabase security notebook
Deploy Function / deploy (push) Failing after 14s
Deploy Migrations to Production / deploy (push) Failing after 8s
2026-03-02 14:13:28 -06:00
alexrg 99a6e28f42 Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Failing after 15s
Deploy Migrations to Production / deploy (push) Failing after 9s
2026-03-02 14:11:19 -06:00
alexrg 606db3362c feat: add jwt-decode dependency and implement JWT handling in Supabase security notebook 2026-03-02 14:11:05 -06:00
Guillermo.Arrieta d7312d2ab3 Merge pull request 'Creación de planes y asignaturas en segundo plano y con webhook de openai' (#40) from issue/35-crear-webhook-para-responses into main
Deploy Function / deploy (push) Successful in 26s
Deploy Migrations to Production / deploy (push) Successful in 12s
Reviewed-on: AlexRG/genesis-2#40
2026-02-27 18:32:55 +00:00
Guillermo.Arrieta c88bf044d0 estado de asignatura 'fallida' en los tipos 2026-02-27 12:30:05 -06:00
Guillermo.Arrieta c12e2895a8 Merge branch 'main' into issue/35-crear-webhook-para-responses 2026-02-27 12:14:04 -06:00
Guillermo.Arrieta 4944f1d31a Se añade el estado 'fallida' a la asignatura 2026-02-27 12:12:20 -06:00
Guillermo.Arrieta b2307759bf Merge branch 'issue/35-crear-webhook-para-responses' of https://github.lci.ulsa.mx/AlexRG/genesis-2 into issue/35-crear-webhook-para-responses 2026-02-27 12:08:09 -06:00
Guillermo.Arrieta 288278ea6c feat: update AI subject generation and handling responses
- Refactor AIGenerateSubjectInput type to include optional fields for updates.
- Add handling for "asignaturas" responses in OpenAI webhook.
- Implement crear.ts for creating/updating subjects based on AI responses.
- Update tests to validate OpenAI file uploads instead of storage uploads.
2026-02-27 12:07:06 -06:00
Guillermo.Arrieta 39f5b5d338 feat: update AI subject generation and handling responses
- Refactor AIGenerateSubjectInput type to include optional fields for updates.
- Add handling for "asignaturas" responses in OpenAI webhook.
- Implement crear.ts for creating/updating subjects based on AI responses.
- Update tests to validate OpenAI file uploads instead of storage uploads.
2026-02-27 11:34:08 -06:00
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