are there any details about the Azure voice live A...
# ask-ai
s
are there any details about the Azure voice live API plugin/integration? I've adjusted the Openai Realtime API plugin but there are issues with tools/function calling and event flow.
t
Thanks for reaching out, Bruno. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! Just wanted to share that LiveKit makes it super easy to integrate with Azure AI Services for voice features. We’ve got plugins that work with both Azure OpenAI and Azure Speech services, so you can enjoy speech-to-text (STT), text-to-speech (TTS), and large language model (LLM) capabilities without a hassle. Here’s a quick rundown of the key integrations: • Azure Speech STT & TTS: Our
livekit-plugins-azure
plugin lets you tap into Azure Speech’s streaming STT and TTS for real-time transcription and speech generation. You can get it installed with:
Copy code
pip install "livekit-agents[azure]~=1.2"
To get started, you’ll need to set up authentication with one of these options: •
AZURE_SPEECH_KEY
and
AZURE_SPEECH_REGION
, or •
AZURE_SPEECH_HOST
, or •
AZURE_SPEECH_AUTH_TOKEN
and
AZURE_SPEECH_REGION
. • Azure OpenAI STT & TTS: For Azure OpenAI services, the OpenAI plugin has you covered for both STT and TTS. To install, just run:
Copy code
pip install "livekit-agents[openai]~=1.2"
For authentication here, you’ll need: •
AZURE_OPENAI_API_KEY
and
AZURE_OPENAI_ENDPOINT
, and if you’re using Active Directory,
AZURE_OPENAI_AD_TOKEN
as well. Both of these plugins are ready to use with Python in the LiveKit Agents framework. You can build your agents easily using the
VoicePipelineAgent
or
AgentSession
classes. If you want to dive deeper, feel free to check out the detailed docs for Azure Speech STT, Azure Speech TTS, and Azure OpenAI services. We’re here to help you get the most out of these powerful tools! Sources: Azure OpenAI STT integration guide | LiveKit Docs | Azure OpenAI TTS integration guide | LiveKit Docs | Azure AI Services and LiveKit | LiveKit Docs | Azure Speech STT integration guide | LiveKit Docs | Azure Speech TTS integration guide | LiveKit Docs