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
- Wellness Chat API – AI-powered health & wellness assistant
- OpenAI Proxy API – Proxy for OpenAI-compatible requests
Endpoint Overview
| Category | Endpoint | Description |
|---|---|---|
| Wellness Chat | POST /api/wellness-chat | Streaming AI health assistant with tool access |
| OpenAI Proxy | POST /api/openai/[...path] | Proxy for OpenAI-compatible API requests |
Recommended Integration Flow (High-Level)
- The client first obtains a Firebase ID Token (corresponding to your user).
- Send
POST /api/wellness-chatwith the user's message to get a streaming AI response. - The frontend renders streamed text incrementally as it arrives.
- Store the conversation context for multi-turn interactions.
Related Documents
- Wellness Chat API — AI health assistant endpoint
- OpenAI Proxy API — Proxy for OpenAI-compatible requests