Spaces:
Running
Running
GitHub Actions commited on
Commit ·
1f0e7d4
1
Parent(s): e691e69
Auto-deploy from GitHub
Browse files- README.md +14 -1
- backend_api/main.py +2 -0
README.md
CHANGED
|
@@ -10,4 +10,17 @@ pinned: false
|
|
| 10 |
|
| 11 |
# UOV AI Assistant - Backend API
|
| 12 |
|
| 13 |
-
FastAPI backend for the UOV AI Assistant chatbot.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# UOV AI Assistant - Backend API
|
| 12 |
|
| 13 |
+
FastAPI backend for the UOV AI Assistant chatbot.
|
| 14 |
+
|
| 15 |
+
## Features
|
| 16 |
+
- RAG-based question answering
|
| 17 |
+
- Qdrant vector search
|
| 18 |
+
- Groq LLM integration
|
| 19 |
+
- Response caching
|
| 20 |
+
- Rate limiting
|
| 21 |
+
|
| 22 |
+
## API Endpoints
|
| 23 |
+
- `GET /health` - Health check
|
| 24 |
+
- `POST /chat` - Chat endpoint
|
| 25 |
+
- `POST /feedback` - Submit feedback
|
| 26 |
+
- `GET /session/{session_id}/history` - Get chat history
|
backend_api/main.py
CHANGED
|
@@ -2,6 +2,8 @@
|
|
| 2 |
FastAPI backend application for UOV AI Assistant.
|
| 3 |
|
| 4 |
Provides REST API endpoints for chat, health checks, and feedback.
|
|
|
|
|
|
|
| 5 |
"""
|
| 6 |
|
| 7 |
from fastapi import FastAPI, HTTPException, Request
|
|
|
|
| 2 |
FastAPI backend application for UOV AI Assistant.
|
| 3 |
|
| 4 |
Provides REST API endpoints for chat, health checks, and feedback.
|
| 5 |
+
|
| 6 |
+
Developer: Vithusan V. (https://github.com/thasvithu)
|
| 7 |
"""
|
| 8 |
|
| 9 |
from fastapi import FastAPI, HTTPException, Request
|