Deepgram socket connection using Javascript SDK #928
Unanswered
chandrakantwinleads
asked this question in
General help
Replies: 1 comment
-
Thanks for asking your question about Deepgram! If you didn't already include it in your post, please be sure to add as much detail as possible so we can assist you efficiently, such as:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build a voice AI assistant using deepgram's speech to text, openai and eleven labs. I am using the Javascript sdk for live transcriptions. I believe it internally opens a websocket to deepgram for streaming audio. Now the socket opens successfully but it remains unresponsive for some time and then finally it disconnects. The metadata that i receive usually has duration 0, channels 0 on disconnection. Most of the times, I am not able to use the websocket for any good but sometimes it does work. In such instances on closing the connection, I get non zero for channels. Please help.
Here is one of the recent metadata on closing the connection:
{
"type": "Metadata",
"transaction_key": "deprecated",
"request_id": "eb9b0424-e461-4c5a-9b48-792ef036ea5e",
"sha256": "37ed9259bac9a14fc79191d08a1d37a2e2a32178b44452672e31a8c7eff34c36",
"created": "2024-09-20T04:53:42.969Z",
"duration": 0,
"channels": 0
}
Beta Was this translation helpful? Give feedback.
All reactions