Commit Graph

14 Commits

Author SHA1 Message Date
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 c12e2895a8 Merge branch 'main' into issue/35-crear-webhook-para-responses 2026-02-27 12:14:04 -06:00
Guillermo.Arrieta 8aeb1d0a64 version con express js que no funciona 2026-02-25 12:17:59 -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 9981b30260 feat: update subject suggestion guidelines and remove obsolete migration
CI / test (pull_request) Failing after 8s
- Enhanced the subject suggestion guidelines to specify that descriptions must not exceed 200 characters.
- Deleted the migration file for adding conversation_id to asignaturas and the associated view, as it is no longer needed.
2026-02-12 16:45:38 -06:00
alexrg bdd4921795 Add initial implementation for create-chat-conversation function and related configuration files 2026-02-12 11:59:22 -06:00
Guillermo.Arrieta e5657d6b0f chore(db): actualizar esquema/backups (auditoría de planes, hashes y conversation_id)
- Agrega fn_log_cambios_planes_estudio y trigger para registrar cambios en cambios_plan, usando response_id (reemplaza interaccion_ia_id).
- Extiende planes_estudio con conversation_id (unique) y plan_hash; agrega asignatura_hash en asignaturas; corrige unaccent_immutable y añade extensión http.
- Actualiza seeds/backups (data_backup.sql / scheme_backup.sql) y ajusta script de diff (sql_para_local_como_remoto.sql), elimina el diff viejo y actualiza archivos auxiliares (deno.lock, CLI temp).
2026-02-05 15:52:56 -06:00
alexrg e024057e47 Add create-chat-conversation function and related configurations 2026-02-03 09:26:30 -06:00
Guillermo.Arrieta fdc8b688b3 generacion de plane exitosa y cambios en BDD
Deploy Function / deploy (push) Successful in 24s
2026-01-22 14:34:26 -06:00
alexrg c51281856a feat: update deno.json and deno.lock to include OpenAI and Zod imports; add sample PDF file
- Added imports for OpenAI and Zod in deno.json
- Updated deno.lock with new versions for OpenAI and Zod
- Introduced a sample PDF file demonstrating bookmark functionality
- Refactored ai-structured function to improve error handling and logging
- Updated tests to reflect changes in input structure and expected output
2026-01-19 16:12:17 -06:00
alexrg 0d2345a6d6 Add Deno configuration and update dependencies for OpenAI and Supabase 2026-01-14 14:24:49 -06:00
alexrg 79e66aed63 Update deno.lock to include additional dependencies and specify versions for improved compatibility 2026-01-14 10:34:13 -06:00
alexrg 411e0f2154 Add deno.lock file and refactor AI function to streamline OpenAI integration 2026-01-13 11:10:41 -06:00