confidence-api / README.md
scchess's picture
Attach /chat routes when Gradio builds the FastAPI app
577f907
|
Raw
History Blame Contribute Delete
579 Bytes
---
title: Confidence API
emoji: 💬
colorFrom: yellow
colorTo: green
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
---
# Confidence Buddy API
Gradio Space that proxies chat to DeepSeek with per-topic personality prompts.
## Endpoints (Flutter)
- `GET /health`
- `GET /personalities`
- `GET /personalities/{id}`
- `POST /chat``{ "personalityId", "message", "history?" }`
Public URL: `https://scchess-confidence-api.hf.space`
## Secrets
- `DEEPSEEK_API_KEY` (required)
- `CHAT_API_SECRET` (optional) — non-health API routes need header `X-App-Key`