How oussama-sil/s2s_conversational_agent works
Project type and purpose
• This is an incremental, streaming Speech-to-Speech Conversational Agent built on the Retico framework.
• Core functionality: real-time VAD → ASR → NLG → TTS, with optional NVIDIA Audio2Face facial animation.
File structure (focus on modules, ignore orchestration/support files)
• vad.py → Voice Activity Detection
• asr.py → Automatic Speech Recognition
• nlg.py → Natural Language Generation
• tts.py → Text-to-Speech synthesis
• a2f.py → Optional Audio2Face integration
• main.py → Pipeline entry point (orchestrates modules)
• Omit: console_colors.py, assets/, requirements.txt, other support files
README insights
• VAD: webrtcvad
• ASR: OpenAI Whisper (via Retico)
• NLG: LLM (vLLM server)
• TTS: Kokoro-82M
• A2F: NVIDIA Audio2Face (REST/gRPC)
Detailed capture of essential elements
• Do not include support/orchestration files like console_colors.py or assets.
• Only the functional modules and their dependencies.
• Both output sinks from TTS: