many-forest-60185
08/30/2025, 3:16 PMtall-airline-16756
08/30/2025, 3:16 PMtall-airline-16756
08/30/2025, 3:17 PMfrom livekit.plugins import openai, google, cartesia
session = AgentSession(
stt=openai.STT(model="whisper-1"),
llm=google.LLM(model="gemini-1.5-pro"),
tts=cartesia.TTS(model="sonic-english", voice="male-1"),
)
And if you just want to use OpenAI STT on its own, like for transcription-only setups, that works perfectly too—no need to include LLM or TTS if you don’t want to. This way, you can mix and match whatever fits your needs best.
Sources: LiveKit Agents integrations | LiveKit Docs | OpenAI STT integration guide | LiveKit Docs | OpenAI integration guide | LiveKit Docs | examples/other/transcription/transcriber.py | OpenAI Realtime API integration guide | LiveKit Docsmany-forest-60185
08/30/2025, 3:17 PMtall-airline-16756
08/30/2025, 3:18 PM