ai-robot-core/ai-service/README.md

27 lines
453 B
Markdown

# 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
```bash
pip install -e ".[dev]"
```
## Running
```bash
uvicorn app.main:app --host 0.0.0.0 --port 8080
```
## API Endpoints
- `POST /ai/chat` - Generate AI reply
- `GET /ai/health` - Health check