Skip to main content

README

title: GOFA AI Overview sidebar_label: Overview description: Overview of GOFA AI intelligent services and API endpoints

GOFA AI provides intelligent health assistant capabilities powered by AI. This section covers the available AI-related API endpoints.

Quick Navigation

Endpoint Overview

CategoryEndpointDescription
Wellness ChatPOST /api/wellness-chatStreaming AI health assistant with tool access
OpenAI ProxyPOST /api/openai/[...path]Proxy for OpenAI-compatible API requests
  1. The client first obtains a Firebase ID Token (corresponding to your user).
  2. Send POST /api/wellness-chat with the user's message to get a streaming AI response.
  3. The frontend renders streamed text incrementally as it arrives.
  4. Store the conversation context for multi-turn interactions.