bulky-actor-93512
08/29/2025, 3:08 AMtall-airline-16756
08/29/2025, 3:08 AMtall-airline-16756
08/29/2025, 3:09 AMmodalities=['text', 'audio']
in the RealtimeModel to make it happen.
• External STT: If you want, you can also plug in an external STT service for quicker or more precise transcriptions, including interim results.
These features are perfect for things like voice assistants, text-controlled voice bots, or even multilingual translators. Feel free to dive deeper in the LiveKit OpenAI guide or give it a spin yourself in the LiveKit Playground.
Sources: Realtime model integrations | LiveKit Docs | Live Conversations with AI using ChatGPT and WebRTC | OpenAI and LiveKit partner to turn Advanced Voice into an API | livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/real... | OpenAI STT integration guide | LiveKit Docsbulky-actor-93512
08/29/2025, 3:09 AMtall-airline-16756
08/29/2025, 3:10 AMstt=deepgram.STT(
model="nova-3",
language="en-US",
api_key="YOUR_DEEPGRAM_API_KEY"
)
• RealtimeModel Configuration: To avoid any conflicts, disable OpenAI's internal STT and turn detection like so:
llm=openai.realtime.RealtimeModel(
input_audio_transcription=None,
turn_detection=None,
api_key="YOUR_OPENAI_API_KEY"
)
• Turn Detection: If you need more advanced handling, you can use LiveKit's multilingual turn detector.
• Dependencies: Don’t forget to install the required plugins with this command:
pip install "livekit-agents[deepgram]" "livekit-agents[openai]"
This setup lets Deepgram take care of the transcription while OpenAI processes the text and generates the audio output. If you have any questions or want me to walk you through it, just let me know—I’m here to help!
Sources: livekit-plugins/livekit-plugins-turn-detector/README.md | Deepgram STT integration guide | LiveKit Docs | Voice AI quickstart | LiveKit Docs