|
|
||
|---|---|---|
| .. | ||
| app | ||
| tests | ||
| README.md | ||
| pyproject.toml | ||
README.md
AI Service
Python AI Service for intelligent chat with RAG support.
Features
- Multi-tenant isolation via X-Tenant-Id header
- SSE streaming support via Accept: text/event-stream
- RAG-powered responses with confidence scoring
Installation
pip install -e ".[dev]"
Running
uvicorn app.main:app --host 0.0.0.0 --port 8080
API Endpoints
POST /ai/chat- Generate AI replyGET /ai/health- Health check