Is it possible to not use the streaming stt for de...
# ask-ai
n
Is it possible to not use the streaming stt for deepgram?
t
Thanks for reaching out, Hwuiwon. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Absolutely! You can definitely use Deepgram without streaming STT in LiveKit. The Deepgram plugin has a handy non-streaming method called
_recognize_impl
that lets you do speech recognition on pre-recorded audio. It works by processing the whole audio buffer at once and sending it to the Deepgram API with a POST request, instead of handling a live stream. This is a great option if you have a full audio file or buffer ready and want to transcribe it all in one go, rather than dealing with live audio in real-time. Sources: livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt.py
n
how can i use that when creating session
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
n
Is there option that I can pass in for
stt=deepgram.STT(model="nova-3"),
to not use the websocket?