- Add multi-tenant integration tests (test_integration_tenant.py) - Add RAG smoke tests (test_rag_smoke.py) - Add API contract tests (test_contract.py) - 184 tests passing - Phase 4 & 5 complete |
||
|---|---|---|
| .. | ||
| 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