many-monitor-87043
10/15/2025, 7:10 AMtall-airline-16756
10/15/2025, 7:10 AMtall-airline-16756
10/15/2025, 7:11 AM.update_options() method with a different language?
• Are you working with the realtime API (use_realtime=True) or using standard transcription?
• Is it possible that the audio stream contains a mix of Hindi and English speech, which might be causing some confusion for the model?
• Are you explicitly passing language="en" both at initialization and when creating the stream?
Getting these details will really help us figure out if the issue is related to configuration, the model’s behavior, or the environment setup. Looking forward to your response so we can get this sorted together!
Sources: OpenAI and LiveKit | LiveKit Docs | Azure OpenAI STT plugin guide | LiveKit Docs | LiveKit turn detector plugin | LiveKit Docs | livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/real... | OpenAI STT plugin guide | LiveKit Docsmany-monitor-87043
10/15/2025, 7:13 AMtall-airline-16756
10/15/2025, 7:14 AMlanguage="en") when you initialize the STT instance for each agent.
2. Use the update_options() method to reinforce the language setting during runtime if needed.
3. Double-check that the STT instance isn’t being reinitialized with default settings when you switch agents.
If you’d like, I’m here to help guide you through implementing these changes or troubleshooting your setup further. Just let me know!
Sources: Azure OpenAI STT plugin guide | LiveKit Docs | livekit-plugins/livekit-plugins-azure/livekit/plugins/azure/__init__.py | docs/index.yamlmany-monitor-87043
10/15/2025, 7:15 AMtall-airline-16756
10/15/2025, 7:16 AMlanguage="en" parameter is correctly passed to the STT instance and isn’t getting overridden somewhere else in your setup or during runtime.
• API Behavior: The Azure OpenAI STT plugin uses the OpenAI Realtime API, which supports multiple languages. However, it’s not fully confirmed whether the language parameter is strictly enforced when detect_language=False. This might need a bit more digging at the API request level.
If you’re still facing issues, you might want to try the standalone Azure Speech STT plugin—it supports explicit multi-language configuration and automatic detection with language candidate sets, which might offer more flexibility. Please feel free to reach out if you’d like help with these steps or need any further debugging support. I’m here to help!
Sources: OpenAI STT plugin guide | LiveKit Docs | livekit-plugins/livekit-plugins-turn-detector/README.md | LiveKit turn detector plugin | LiveKit Docs | Azure OpenAI STT plugin guide | LiveKit Docs | Azure Speech STT plugin guide | LiveKit Docs