diff --git a/.gitignore b/.gitignore index f7b5c47..165bb74 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,20 @@ __pycache__/ *.pyc +*.pyo venv/ .env *.log *.pid + +# fichiers scratch / debug (jamais commités) +_check* +_debug* +_get_key* +_key_out* +_show* +check_*.py +quick_test*.py +run_test*.py +ws_test*.py +test_*.py +*_out.txt diff --git a/README.md b/README.md index 1c06217..dcd00ea 100644 --- a/README.md +++ b/README.md @@ -1,106 +1,47 @@ # JARVIS v3 — Assistant Vocal Intelligent -> Phase 1 : Relay WebSocket → Hermes A.L.E.X.A. -> PoC fonctionnel — interface chat texte en temps réel +Assistant vocal local connecté à l'agent Hermes (DeepSeek v4). Contexte multi-tours, +interface navigateur, synthèse vocale (TTS), liaison vocale (STT navigateur). -## 🎯 Objectif - -Assistant vocal intelligent avec mémoire persistante, connecté à l'API Hermes A.L.E.X.A. -Phase 1 valide la communication texte en temps réel via WebSocket. +> **Était le projet `jarvis-pipecat`** (historique nommé d'après Pipecat, non utilisé actuellement). ## 🏗️ Architecture ``` -┌──────────────┐ WebSocket ┌──────────────┐ HTTP/POST ┌──────────────┐ -│ Navigateur │ ◄──────────────► │ bot_direct │ ◄───────────────► │ Hermes API │ -│ (test.html) │ ws://host/ws │ .py :7081 │ localhost:8642 │ A.L.E.X.A. │ -└──────────────┘ └──────────────┘ └──────────────┘ - │ - ▼ - ┌──────────────┐ - │ Infisical │ - │ (clé API) │ - └──────────────┘ +┌──────────────┐ WebSocket ┌──────────────┐ HTTP REST ┌──────────────┐ +│ Navigateur │ ◄────────────► │ bot_direct │ ◄─────────────► │ Hermes API │ +│ (HTML/JS) │ ws://:7081/ws │ .py :7081 │ :8642 /v1/chat │ A.L.E.X.A. │ +│ 🎤 STT 🔊 │ │ TTS edge │ /completions │ (DeepSeek v4)│ +└──────────────┘ │ (serveur) │ └──────────────┘ + └──────┬───────┘ + ▼ Infisical (clé) / fallback .env ``` +- **STT** : Web Speech API navigateur (Chrome) — nécessite HTTPS ou flag (voir Bloqueurs). +- **TTS** : `edge-tts` côté serveur (voix `fr-FR-DeniseNeural`), MP3 → base64 → `