Backend Architecture (FastAPI)
Overview
The backend is a FastAPI application located in backend/. It powers the chatbot and RAG functionality.
Entry Point
- File:
backend/main.py - Run:
uvicorn backend.main:app --reload(or vianpm run dev) - Port: Defaults to
8000.
Endpoints
POST /api/chat
- Purpose: Main RAG chat endpoint.
- Input:
ChatRequest(query, history, user_context). - Process:
- Embed query.
- Search Qdrant (`search
[Description truncada. Veja o README completo no GitHub.]