Deepgram streaming some times giving no response #259
Replies: 7 comments 4 replies
-
Hi @samueljazzjohn! What type of inaccurate results are you receiving from Deepgram? Could you expand on what you mean by "missing some text"? Without knowing more about your audio source and what Deepgram is returning, it's hard to say what might be going wrong. Some things that can cause inaccurate or incomplete transcriptions: poor quality audio, accidentally truncated audio, audio with background noise, multilingual audio, audio that DG's models haven't been trained on, etc. You can start by listening to the audio you're sending Deepgram to see if there are any characteristics present that might interfere with ASR. Or if you want to send a sample, we can listen and offer our opinion. :) Deepgram's streaming test suite (guide, GitHub) has an example of streaming audio from the microphone, as well as several other actionable steps for getting started with streaming. I'd recommend following the guide and comparing the quality of results from our audio sample + code to the results you're getting. This may shed some light on the issue. Let us know how it goes. |
Beta Was this translation helpful? Give feedback.
-
I have tested the same audio using the Deepgram prerecorded Python SDK, and it yielded an accuracy rate of 98%, which is impressive. I'm not sure if I'm following the correct approach in streaming SDK. By the way, could you please guide me on how to attatch the audio file? |
Beta Was this translation helpful? Give feedback.
-
I am currently using this code snippet for live speech-to-text (STT) conversion. How can I retrieve the transcription when a speaker or sentence is completed also? |
Beta Was this translation helpful? Give feedback.
-
Is it a right way to get the transcript? |
Beta Was this translation helpful? Give feedback.
-
This is the sheet it generating. I am actually using the seperate thread for audio recording and seperate thread for transcription. the recorded chunks of audio will be stored in queue and the transcription thread will convert that audio data to text. I am also adding the exact transcritption from that audio.
Can we transcript directly from the mic without running the reperate thread |
Beta Was this translation helpful? Give feedback.
-
In this scenario, I believe a significant number of words are being omitted. Could you please assist me in identifying the root cause of this issue? |
Beta Was this translation helpful? Give feedback.
-
test_audio_2_out_2.wav.zip |
Beta Was this translation helpful? Give feedback.
-
Which Deepgram product are you using?
Deepgram SDKs
Details
When I use the Deepgram live streaming function to perform speech-to-text (STT) conversion, it does not provide accurate transcriptions. It seems to be missing some text. I am also adding the code here. Please help me to find the root cause of that. Also I would like to know that can we get the audio directly from microphone using deepgram real-time transcription.
If you are making a request to the Deepgram API, what is the full Deepgram URL you are making a request to?
No response
If you are making a request to the Deepgram API and have a request ID, please paste it below:
No response
If possible, please attach your code or paste it into the text box.
If possible, please attach an example audio file to reproduce the issue.
No response
Beta Was this translation helpful? Give feedback.
All reactions