Tag
实践者分享构建电话语音AI代理的核心瓶颈并非模型能力,而是轮次切换时机:单靠VAD静音检测会导致打断或迟钝,改用STT置信度与部分转录文本的语义线索来判断发言是否结束效果更好。
A practitioner reflection on why voice agents cut callers off, arguing the real culprit is often VAD settings misreading background noise rather than STT latency, and that tuning silence thresholds changes how human an agent feels.
作者分享为电话语音机器人调优对话轮替(turn-taking)的经验:单靠 VAD 静音阈值不够,需结合 STT 部分文本判断句子是否完整,再配合 TTS 延迟一起调试,才能让机器人响应更自然。
The author measured the response latency on xAI's realtime voice engine, finding a floor of around 1.3 seconds, and resolved fixed first message issues by composing the opener in the prompt.
Voice agents often face latency issues not mainly from the model but from components like endpointing; optimizing VAD and using proper benchmarking can reduce turn latency effectively.
LangChain launches LangSmith tracing for voice frameworks (Pipecat, LiveKit, OpenAI Realtime, Gemini Live), enabling full audio monitoring, STT/TTS latency tracking, interruption detection, and VAD analysis with minimal code.
This article shares hard-won lessons from building real-time voice AI agents, highlighting the importance of proper turn-taking, VAD handling, billing awareness, and avoiding echo loops.
Recommends using Qwen3-ASR instead of Whisper to reduce hallucinations, using LattifAI tools for precise audio-text alignment and subtitle generation, and introducing their own OmniVAD-Kit project for voice activity detection.
After 6 months running a voice AI agent for service businesses, the author reveals that real-world latency is bimodal (median ~800ms, p95 ~2.4s) and this p95 determines user perception. Issues like VAD misfires, function call degradation with long prompts, and TTS quality matter more than LLM choice, with multilingual support adding significant costs.