-
Notifications
You must be signed in to change notification settings - Fork 1
Routes
peter-olai edited this page May 7, 2025
·
3 revisions
The src/routes/ directory defines the API endpoints for the chat service. For detailed descriptions of each endpoint, including request and response formats, please see the API Reference.
Currently, the routes are organized into the following files:
-
debug.py: Provides endpoints for accessing in-memory logs for debugging purposes (see Debug Logs API). -
progress.py: Manages and tracks task progress through various API calls (see Progress API). -
upload.py: Handles file uploads, primarily for ingesting documents into the RAG Service (see Upload API).
- Structuring API endpoints (e.g., using FastAPI routers).
- Defining request and response models (often in
src/models/). - Handling incoming API requests and delegating to appropriate service logic (e.g., functions in
pipeline.py,LLM.py,rag_service/,transcribe.py). - Authentication and authorization for endpoints (if applicable).
(This page provides an overview. For specifics, refer to API-Reference.)
Authors:
Peter Olai Johnsen
Tobias Fremming
Erik Le Blanc Pleym
About Chat-Service
Core Components
Development
Codebase Details
- Codebase Architecture
- Routes
- Command-py
- Config-py
- Context Upload-py
- LLM-py
- Main-py
- Pipeline-py
- Streaming WS-py
- Transcribe-py
Deployment and Operations