Can I freely set the speech_config.set_property(.....
# agents
f
Can I freely set the speech_config.set_property(...) function in livekit-plugins-azure's stt?
@refined-appointment-81829 Is there any way to support this?
@jolly-air-155Hello,Is there any way to support this?
j
perhaps you can expose these options to the azure STT ctor, feel free to create a pr for that.
f
Okay, thank you.
Add end_silence_timeout_ms parameter to azure.STT() https://github.com/livekit/agents/pull/3577
Is there any other way to control the trigger time of END_OF_SPEECH?
r
You can call session.interrupt() when ever you want.
I am not sure about time but you can do it based on number of words with
min_interruption_words
. https://docs.livekit.io/agents/build/turns/#session-configuration
f
@refined-appointment-81829 My scenario is to automatically start a new paragraph after the user has been silent for 3 seconds. User starts speaking (START_OF_SPEECH) Continues speaking, optionally with brief silences (multiple INTERIM_TRANSCRIPT or FINAL_TRANSCRIPT calls) User is silent for 3 seconds (END_OF_SPEECH) User starts speaking (START_OF_SPEECH) Continues speaking, optionally with brief silences (multiple INTERIM_TRANSCRIPT or FINAL_TRANSCRIPT calls) User is silent for 3 seconds (END_OF_SPEECH) ... Currently, I have two possible solutions: 1. Configure SpeechServiceConnection_EndSilenceTimeoutMs in azure.STT, a configuration added in the pull request. 2. Use a separate VAD to control START_OF_SPEECH and END_OF_SPEECH.