This question originally came up in our Slack community and the thread has been consolidated here for long-term reference.
Are min_interruption_words and min_interruption_duration mutually exclusive parameters?
This question originally came up in our Slack community and the thread has been consolidated here for long-term reference.
Are min_interruption_words and min_interruption_duration mutually exclusive parameters?
No, they are not mutually exclusive. Both parameters can be used together and serve different purposes in the interruption detection system.
How they work:
min_interruption_duration checks if the user’s speech has lasted long enough (in seconds) before triggering an interruption. This operates at the VAD level (raw audio detection).
min_interruption_words checks if the user has spoken enough words before allowing an interruption. This operates at the STT level (transcribed text).
How they work together:
min_interruption_duration is checkedmin_interruption_words is checked (when STT is available)min_interruption_words is checked again to prevent interruption if the transcript is too shortThis allows for nuanced control - you can require both a minimum duration of speech AND a minimum number of words before allowing an interruption.