what happens if i leave turn_detection empty and n...
# ask-ai
p
what happens if i leave turn_detection empty and not set?
t
Thanks for reaching out, Vaneeza. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
If you leave
turn_detection
empty or unset, LiveKit will kindly choose the best turn detection mode for you, based on what’s available in your agent configuration. It follows this helpful priority order: • Realtime LLM (if you have a RealtimeModel with server-side turn detection ready) • VAD (if a VAD model is included) • STT (if there’s an STT model with streaming capabilities) • Manual (if none of the above fit, which means your application will handle turn management explicitly) And don’t worry—if a mode is chosen but misses some required components (like VAD without a VAD model), the system will gently log a warning and move on to the next best option. This way, everything keeps running smoothly even if the configuration isn’t fully complete. Sources: examples/voice_agents/push_to_talk.py | agents/src/voice/agent_activity.ts | How does end-of-utterance detection work in conversations?
p
which one is better for interruption handling? silero vad or nova stt?
t
When it comes to handling interruptions, Silero VAD really shines compared to Nova STT alone. This is because Silero VAD processes in real-time, has lower latency, and is specially designed for detecting voice activity. It can quickly pick up on when someone starts speaking, making interruption handling much faster and more responsive. Plus, it offers plenty of options to fine-tune it just the way you need. On the other hand, Nova STT is great for transcription and understanding the meaning behind the words, but it does have some built-in delay since it relies on finishing the transcription and network calls. To get the best results, I’d suggest using Silero VAD for the main interruption detection and combining it with Nova STT for richer transcription and semantic turn detection. This way, you get the strengths of both working together smoothly. Sources: Turn detection and interruptions | LiveKit Docs | Silero VAD plugin | LiveKit Docs | test/agents/host.py | examples/voice_agents/resume_interrupted_agent.py