How can I modify the Azure STT options during the ...
# ask-ai
h
How can I modify the Azure STT options during the conversation?
t
Thanks for reaching out, Gerardo. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You can modify Azure Speech-To-Text (STT) options during an active conversation by using the
update_options
method on the Azure STT class. Only the language parameter can be changed during runtime. When you call
update_options
with a new language (or list of languages), the system reconnects the recognition streams with the updated configuration, allowing real-time language adaptation without interrupting the conversation flow. Other settings such as authentication and audio configuration must be set during initialization and cannot be changed while the session is active. • For dynamic language switching, provide the candidate set of possible languages if you want the system to auto-detect. • To change settings other than language, you must stop and restart the transcription session. Sources: livekit-plugins/livekit-plugins-azure/livekit/plugins/azure/tts.py