ai-team-support / README.md
avciTheProgrammer's picture
Update README.md
566d342 verified
---
title: AI Team Chat Backend
emoji: πŸ€–
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
---
# AI Team Chat β€” Backend API
FastAPI backend powering the AI Team Chat app.
## Environment Variables (set in HF Spaces β†’ Settings β†’ Secrets)
| Variable | Description |
|---|---|
| `GROQ_API_KEY` | Your Groq API key |
| `OPENAI_API_KEY` | Your OpenAI API key (optional) |
| `SUPABASE_URL` | Your Supabase project URL |
| `SUPABASE_KEY` | Your Supabase anon/service key |
## Endpoints
- `POST /chat` β€” Main chat endpoint
- `GET /history/{session_id}` β€” Fetch session history
- `GET /health` β€” Health check