File size: 777 Bytes
f992c25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: Fin-DataPilot
emoji: 📊
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: true
license: mit
short_description: NL financial data agent (LangGraph + 4 iWencai skills)
---

# Fin-DataPilot Backend

Agent-based natural-language financial data platform. See root `README.md` for the full design.

- Health: `GET /api/health`
- Skills: `GET /api/skills` (and `PATCH /api/skills/{name}` to enable/disable)
- Sessions: `POST /api/sessions`, `GET /api/sessions`, `GET /api/sessions/{id}`
- Chat (SSE): `POST /api/agent/chat/stream`

Configure secrets in the Space's "Variables and secrets" tab:
- `LLM_BASE_URL` (default `https://api.minimaxi.com/v1`)
- `LLM_API_KEY`
- `IWENCAI_API_KEY`
- `CORS_ALLOW_ORIGINS` (your GitHub Pages / Vercel frontend origin)