lively-coat-10905
11/27/2025, 4:39 AMtall-airline-16756
11/27/2025, 4:40 AMtall-airline-16756
11/27/2025, 4:40 AMspeech_key — your Azure Speech API key (string)
• speech_region — Azure region for the resource (string), e.g., eastus
• languages — list of language codes to enable multilingual detection (list[string]), e.g., ["en-US","ar-EG"]
Python example
from livekit.plugins import azure
from livekit.agents import AgentSession
stt = azure.STT(
speech_key="<YOUR_SPEECH_KEY>",
speech_region="<YOUR_SPEECH_REGION>",
languages=["en-US","ar-EG"]
)
session = AgentSession(
stt=stt,
# other components...
)
Environment variable alternative
• Set AZURE_SPEECH_KEY and AZURE_SPEECH_REGION in env, then instantiate with only `languages`:
stt = azure.STT(languages=["en-US","ar-EG"])
Notes
• Provide the languages list to enable multilingual detection; otherwise a monolingual (English) model is used.
• Use the specific Arabic locale you need (e.g., ar-EG) if you want regional accuracy.
Would you like the same example in another language (JS) or help testing a sample audio file?
Sources: Azure Speech STT plugin guide | LiveKit Docslively-coat-10905
11/27/2025, 4:41 AMtall-airline-16756
11/27/2025, 4:41 AMar-KW).
To confirm whether Azure Speech-to-Text specifically supports Kuwaiti Arabic, check Microsoft's supported languages page for Speech-to-Text: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support
If ar-KW isn't listed, use a nearby Arabic locale (for example ar-EG or ar-SA) in languages — Azure will transcribe Modern Standard Arabic and many regional variants, though dialect accuracy can vary. Would you like me to test with ar-EG in your LiveKit config example?
Sources: Azure Speech STT plugin guide | LiveKit Docslively-coat-10905
11/27/2025, 5:15 AMtall-airline-16756
11/27/2025, 5:15 AMspeech_languages (not languages). Use speech_languages and you can include ar-KW for Kuwaiti Arabic.
Corrected example:
from livekit.plugins import azure
from livekit.agents import AgentSession
stt = azure.STT(
speech_key="<YOUR_SPEECH_KEY>",
speech_region="<YOUR_SPEECH_REGION>",
speech_languages=["en-US", "ar-KW"]
)
session = AgentSession(stt=stt)
If you prefer env vars, set AZURE_SPEECH_KEY and AZURE_SPEECH_REGION and instantiate with only speech_languages.
If you still get errors, please tell me:
• your livekit-agents package version
• the exact init call you now have (redact keys) Sources: Azure Speech STT plugin guide | LiveKit Docs