Learn how to control when user speech is processed in your conversational bot
STTMuteFilter
lets you selectively “mute” user input based on different conversation states.
STTMuteFilter
works by blocking specific user-related frames from flowing through your pipeline. When muted, it filters:
STTMuteFilter
supports several strategies for determining when to mute user input:
FIRST_SPEECH
and MUTE_UNTIL_FIRST_BOT_COMPLETE
strategies should not
be used together as they handle the first bot speech differently.STTMuteFilter
:
STTMuteFilter
between the STT service and context aggregator