Commit Graph

23 Commits

Author SHA1 Message Date
Guillermo.Arrieta 93c4e46e62 Se creó la edge function que sirve de wrapper a carbone y ya permite descargar el pdf del plan de estudios
Por hacer:
- permitir descargar los otros dos anexos tanto en pdf como en word/excel segun el caso
- quitar el hardcode de convertir a pdf de downloadReport
- Extraer el template id no de una variable de entorno, sino de la columna correspondiente tanto en la tabla de la estructura del plan como en la tabla de la estructura de la asignatura. En alguna parte de la BDD se tendrá que poner el template id del anexo del mapa curricular
- Permitir otros métodos
2026-03-20 12:29:24 -06:00
Your Name 6a56356c39 Add Excel processing functionality with merge pattern application
Supa-backup / run_db_backup (push) Successful in 1m34s
- Introduced `index.ts` to read an Excel file and apply merge patterns to specified ranges.
- Created `lib.ts` with utility functions for column number conversion and merge pattern application.
- Updated execution counts in `carbone.ipynb` to reflect the new code structure.
2026-03-17 11:06:52 -06:00
alexrg 28b3df1fbd Implement feature X to enhance user experience and optimize performance 2026-03-13 16:06:03 -06:00
alexrg 357c244f2a feat: add carbone-sdk dependency and create initial CarboneClient implementation
Supa-backup / run_db_backup (push) Successful in 38s
- Added carbone-sdk@^1.6.0 to package.json and deno.lock
- Created a new notebook (carbone.ipynb) with CarboneClient class for interacting with the Carbone API
- Implemented methods for listing templates, categories, tags, uploading templates, and rendering documents
2026-03-13 11:09:22 -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
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 c12e2895a8 Merge branch 'main' into issue/35-crear-webhook-para-responses 2026-02-27 12:14:04 -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 9263587f0b openai-webhook-responces recibe peticiones y hace log de las responses 2026-02-25 15:24:57 -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
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
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 0a4fc51bf7 feat: add definitions for perishables and origin schemas in new notebook 2026-02-16 11:28:13 -06:00
alexrg 9d25203ef6 fix: update execution counts and improve message parsing in chat conversation functions 2026-02-13 16:12:23 -06:00
alexrg a70f0c52a9 feat: implement create-chat-conversation function with OpenAI integration and Supabase support
CI / test (pull_request) Failing after 8s
- Added CORS handling for the create-chat-conversation function.
- Implemented health check endpoint for the function.
- Created endpoints for managing conversations and messages with OpenAI.
- Added error handling and response formatting for better API usability.
- Introduced utility functions for environment variable management and Supabase client creation.
- Enhanced schema handling for structured responses from OpenAI.
- Implemented conversation archiving and retrieval logic.
2026-02-13 09:31:58 -06:00
alexrg cfbd0cebbb Refactor conversation handling in the OpenAI integration notebook
- Updated execution counts for code cells to reflect the correct order of execution.
- Modified the structure of conversation-related database interactions to align with new naming conventions.
- Enhanced the conversation creation process by including additional metadata and improving the response handling.
- Implemented better error handling and logging for conversation archiving and message retrieval.
- Adjusted the schema definitions for input and output to ensure compatibility with the latest API changes.
2026-02-13 08:38:43 -06:00
alexrg bdd4921795 Add initial implementation for create-chat-conversation function and related configuration files 2026-02-12 11:59:22 -06:00