Description Connect the custom fine-tuned models (DeepSeek-R1, emotion detection) with the main application. Acceptance Criteria - [ ] Replace OpenAI calls with local Flask API endpoints - [ ] Update `app/Services/openai/functions.ts` to support both APIs - [ ] Add fallback mechanism (OpenAI when Flask unavailable) - [ ] Handle Flask server connectivity issues gracefully Files to Update - `app/Services/openai/functions.ts` - Add new service file for Flask integration
Description
Connect the custom fine-tuned models (DeepSeek-R1, emotion detection) with the main application.
Acceptance Criteria
app/Services/openai/functions.tsto support both APIsFiles to Update
app/Services/openai/functions.ts