silence_based_eos
Source Location
How It Works
- A single worker goroutine manages a timer
- When a final
SpeechToTextPacketarrives, text is accumulated and the timer is set totimeout - When a
VadSpeechActivityPacketor interimSpeechToTextPacketarrives, the timer resets - When the timer expires,
EndOfSpeechPacketfires with the accumulated text - State resets for the next turn
Parameters
| Option Key | Default | Range | Description |
|---|---|---|---|
microphone.eos.timeout | 1000 ms | 500–4000 ms | Silence duration before triggering end-of-speech |
Setup
No model files or downloads required. Works out of the box with both Docker and source builds. To select this provider, setmicrophone.eos.provider to silence_based_eos in the assistant’s audio options (or leave it unset — it is the default).