Configure Silero VAD
Configure VAD and pass it to yourPipeline as the vad component:
Interruption Detection
Interruption Detection decides when user speech should stop the agent mid-response. It can use VAD, STT, or both. This avoids false triggers from short noises, filler words, or background audio. Using VAD detects raw speech activity. It is faster but can be triggered by background noise.HYBRID mode to require both audio detection and recognized words.
False Interruption Recovery
A false interruption is a brief accidental noise, like a cough, an “mm-hmm”, or background noise, that should not stop the agent. Instead of cutting off immediately,InterruptConfig
lets the agent pause and confirm whether an interruption is genuine before deciding to stop or
resume speaking.
How it works
1
Maybe-interruption
The user makes a sound while the agent is speaking. Instead of cutting off, the agent
pauses TTS and starts a timer (
false_interrupt_pause_duration).2
Confirm or resume
If a transcript with at least
interrupt_min_words words arrives before the timer
expires (or VAD confirms sustained speech), it’s a real interruption and the agent
stops. Otherwise the timer expires and the agent resumes speaking from where it paused.Enable it
Setresume_on_false_interrupt=True on the pipeline’s InterruptConfig. Tune
false_interrupt_pause_duration for how long to wait before deciding it was a false alarm.
Configuration
What’s Next
Turn Detection
Pair VAD with semantic turn detection.
De-noise
Give VAD a cleaner audio signal.