When LiveKit agent uses Deepgram STT, does it conn...
# ask-ai
r
When LiveKit agent uses Deepgram STT, does it connect to Deepgram with REST or WSS?
t
Thanks for reaching out, Ivan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm glad you asked! LiveKit connects to Deepgram STT using WebSocket Secure (WSS), which allows for real-time, two-way communication. This setup helps ensure that your speech recognition tasks run smoothly and efficiently. If you have any questions about how this works or need further assistance, feel free to ask—I'm here to help! Sources: agents/src/inference/stt.ts | livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/stt.py