big-controller-60015
10/27/2025, 2:22 PMtall-airline-16756
10/27/2025, 2:22 PMtall-airline-16756
10/27/2025, 2:23 PMflux-general-en model. Here's a simple way to set it up:
from livekit.plugins import deepgram
# Initialize STT with the Deepgram Flux model
stt_instance = deepgram.STT(model="flux-general-en")
Here are a few important things to keep in mind:
• You can provide your Deepgram API key either when initializing or by setting the DEEPGRAM_API_KEY environment variable.
• The STT instance works within an AgentSession to handle real-time audio streams from your LiveKit rooms.
• Feel free to customize additional settings like sample rate, end-of-speech detection thresholds, and tags to fit your specific needs.
If you have any questions or want to dive deeper into configuration options, just let me know—I’m here to help!
Sources: examples/voice_agents/realtime_turn_detector.py | test/agents/guest.py