mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 19:44:41 +02:00
Conception validée du projet STT — assistant vocal/HUD du homelab Funk : - HUD web sur-mesure + STT/TTS local (faster-whisper + Piper) - Packaging commande pipx (stt), démarrage auto systemd --user - Cerveau 3 modes + auto-détection LAN : hermes / local-direct / claude-direct - Mémoire 3 tiers : SQLite local + Qdrant s01 + GitHub (distillée, versionnée) Réutilise tools/hermes-voice, LiteLLM, Hermes Agent. Squelette + doc admin/ia/stt.md, implémentation par phases (roadmap dans le doc). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013FmcxGsyXZXogiAHQLjnZT
40 lines
1.6 KiB
TOML
40 lines
1.6 KiB
TOML
# Configuration STT — copier vers ~/.config/stt/stt.toml (via `stt --setup`)
|
|
|
|
[brain]
|
|
# Mode cerveau : "auto" (détecte le LAN), "hermes", "local", "claude"
|
|
mode = "auto"
|
|
# Hôte testé pour décider LAN vs hors-LAN
|
|
lan_probe_host = "192.168.1.200"
|
|
|
|
[brain.hermes] # mode hermes (LAN) — agit sur Funk
|
|
url = "http://192.168.1.200:8080"
|
|
profile = "funk-ai"
|
|
|
|
[brain.local] # mode local-direct (LAN) — chat Qwen3 sur g01
|
|
url = "http://192.168.1.200:4000/v1/chat/completions"
|
|
api_key = "lm-studio"
|
|
model = "hermes-default"
|
|
|
|
[brain.claude] # mode claude-direct (hors-LAN) — chat seul
|
|
# Clé via variable d'env ANTHROPIC_API_KEY (ne JAMAIS committer la clé ici)
|
|
model = "claude-sonnet-4-6"
|
|
|
|
[voice]
|
|
wake_word = "hermes" # "Ok Hermès"
|
|
whisper_model = "large-v3" # STT (faster-whisper, CPU int8)
|
|
piper_voice = "fr_FR-upmc-medium" # TTS — voix dans config/voices/
|
|
language = "fr"
|
|
silence_sec = 1.2 # silence avant fin d'enregistrement
|
|
chat_timeout_sec = 60 # retour en veille sans interaction
|
|
|
|
[ui]
|
|
theme = "arc-reactor" # thème dans config/themes/
|
|
avatar = "default" # image dans config/avatars/
|
|
kiosk = true # ouvre le HUD en plein écran au lancement
|
|
|
|
[memory]
|
|
enabled = true
|
|
local_db = "~/.local/share/stt/memory.sqlite" # tier local (gitignoré)
|
|
distill_on_exit = true # distille → GitHub à l'arrêt
|
|
qdrant_url = "http://192.168.1.200:6333" # tier s01 (si LAN + Qdrant up)
|
|
qdrant_collection = "stt-memory"
|