Commit Graph

9 Commits

Author SHA1 Message Date
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
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 bdd4921795 Add initial implementation for create-chat-conversation function and related configuration files 2026-02-12 11:59:22 -06:00
alexrg 484db49654 Refactor code structure for improved readability and maintainability 2026-02-12 10:35:52 -06:00
Guillermo.Arrieta 7f9226ce38 hotfix de importacion
Deploy Function / deploy (push) Successful in 21s
2026-02-05 16:13:55 -06:00
Guillermo.Arrieta 00f0bddf1c Arreglo de reverts 2026-02-05 16:00:07 -06:00
alexrg b1a90858dc revert 1af0358e65
Deploy Function / deploy (push) Failing after 43s
revert Merge pull request 'REFACTOR OpenAI service to manage env and convo creation' (#12) from issue/9-hacer-una-funcin-que-inserte-el-id-de-conversacin into main

Reviewed-on: AlexRG/genesis-2#12
2026-02-05 20:41:28 +00:00
alexrg 0b7d2e83d7 Refactor OpenAI service to manage env and convo creation
- Add fromEnv factory to OpenAIService to handle env vars
- Move conversation creation into OpenAIService
- Update create- chat-conversation function to use new OpenAIService
  methods
- Add CORS headers to responses
2026-02-03 09:38:56 -06:00
alexrg e024057e47 Add create-chat-conversation function and related configurations 2026-02-03 09:26:30 -06:00