Skip to content

Integrate Flask AI Models with Frontend #8

@BrandonnLow

Description

@BrandonnLow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions