Skip to content

Codebase Architecture

peter-olai edited this page May 7, 2025 · 3 revisions

Codebase Architecture

This page outlines the architecture of the chat-service codebase. For a higher-level overview of the system architecture, including key drivers and architectural decisions, please see the main Architecture page. Visual diagrams can be found on the Diagrams page.

Overview

Key Components

  • API Endpoints (src/routes/): Defines the public interface of the service.
  • Core Logic (src/main.py, src/pipeline.py): Orchestrates the service operations.
  • LLM Interaction (src/LLM.py): Handles communication with Large Language Models.
  • Transcription Service (src/transcribe.py): Manages audio transcription.
  • RAG Service (src/rag_service/): Implements Retrieval Augmented Generation.
  • Configuration (src/config.py): Manages service settings.
  • WebSocket Handling (src/streaming_ws.py): For real-time communication.

Clone this wiki locally