Skip to content
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

Deepgram API not returning complete transcripts #485

Open
ks233ever opened this issue Nov 15, 2024 · 2 comments
Open

Deepgram API not returning complete transcripts #485

ks233ever opened this issue Nov 15, 2024 · 2 comments

Comments

@ks233ever
Copy link

We have noticed that many of our response transcripts being returned via the Deepgram API only contain a small portion of the expected transcript. E.g. 45 minute files are returning just 15 minutes of transcription. The majority is missing. I have confirmed programmatically that the files being sent via the API are in fact ~45mins. However, within the UI logs, the requests show only ~15mins in audio length. I'm not sure what is happening on the Deepgram side to only read in a small portion of the audio file. Clients are receiving incomplete transcripts, so this is an urgent issue for us. Here is an example request id to debug on your end: b3dc923a-70bf-4119-89d8-9aa84e44105b.

We are seeing this happen around 30% of the time. It is heavily impacting our business. For your engineer's reference, please see the screenshot containing the python code (using deepgram-sdk==2.4.0) that we are using to pass files to your API:

Screenshot 2024-11-15 at 12 58 23 AM

Please advise on how to get back up and running again. Thanks!

@ks233ever
Copy link
Author

Posting here for others who may run into this issue, as it took me a little to figure out how to pass context-length.

This was solved (so far no more issues, fingers crossed) by updating to deepgram sdk 3.7.7 and replacing my original code with the attached snippet:

from deepgram import (
DeepgramClient,
PrerecordedOptions,
)
Screenshot 2024-11-22 at 1 56 31 PM

@JAILBREAK-101
Copy link

Please assign me this issue as I'm using deepgram in a project of my

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants