Skip to content

Backend API (Python)

This section contains documentation automatically generated from the Voice2Machine backend source code.

Auto-generated

This documentation syncs automatically with code docstrings. Source of truth: apps/daemon/backend/src/v2m/


Main Modules

Orchestration

  • Workflows - Business workflow coordinators (Recording, LLM)
  • REST API - FastAPI endpoints and data models (api/ package)

Foundation

  • Config - Typed configuration system (shared/config/)

Features


Layer Navigation

graph TD
    A[REST API] --> B[Workflows]
    B --> C[Features]
    C --> D[Audio]
    C --> E[Transcription]
    C --> F[LLM]

    style A fill:#e3f2fd
    style B fill:#fff3e0
    style C fill:#f3e5f5
Layer Responsibility
API HTTP endpoints, validation, serialization
Orchestration Business workflow coordination (Workflows)
Features Domain logic and specialized adapters

Code Status

Metric Value
Python Files 27
Docstring Coverage ~70%
Style Google Style