my_voice_assistant_v3/pyproject.toml
Dieter Schlüter c25f081f9f feat(stt): echtes lokales STT via faster-whisper (optional .[local])
- FasterWhisperProvider implementiert (CTranslate2): Modell prozessweit gecacht
  (lru_cache), Transkription in asyncio.to_thread; robuster CPU-Fallback wenn
  GPU/compute_type nicht verfuegbar
- Config: FASTER_WHISPER_MODEL/DEVICE/COMPUTE_TYPE (Defaults base/auto/default)
- pyproject: optionales Extra [local] = faster-whisper
- Test: transcribe-Endpunkt nutzt jetzt einen Stub-STT (kein Platzhalter mehr)
- Doku: Voraussetzungen, Hybrid-Beispiel (STT+LLM lokal, TTS remote), Architektur/README

Live verifiziert: TTS->WAV->faster-whisper transkribiert korrekt (de); voller Hybrid
ueber /ws/voice (faster-whisper + Ollama llama3.2 + OpenRouter-TTS) funktioniert.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 11:28:20 +02:00

32 lines
752 B
TOML

[project]
name = "voice-assistant-gateway"
version = "0.1.0"
description = "Modular voice assistant gateway with pluggable audio endpoints and provider adapters"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.116.0",
"uvicorn[standard]>=0.35.0",
"httpx>=0.28.0",
"pydantic>=2.11.0",
"pydantic-settings>=2.10.0",
"python-multipart>=0.0.20"
]
[project.optional-dependencies]
test = [
"pytest>=8.0"
]
# Lokale KI-Module (optional, schwergewichtig): lokales STT via faster-whisper.
local = [
"faster-whisper>=1.0"
]
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["app*"]
exclude = ["deploy*", "tests*"]