-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection Issues with Deepgram Service #1113
Comments
It looks like we could add error handling to the connection through the deepgram-sdk per their readme:
self._connection.on(LiveTranscriptionEvents.Error, self._on_error) # add to line 102
async def _on_error(self, error, **kwargs):
|
In an attempt to set the keepalive time directly from 10s to 7s, I'm finding this recommendation with GPT to be able to adjust the timeout setting on the deepgram client by setting up the websocket connection directly.
|
Occasionally deepgram disconnects. This is rare. Like once every 50 tries.
My settings:
pipecat-ai = "^0.0.53"
deepgram-sdk = "^3.8.0"
I see the keepalive setting is set to True in the DeepgramSTT class:
Here is the error that occurs:
The text was updated successfully, but these errors were encountered: