Skip to content

Streaming - Automatic Language Detection (Speech-to-Text) #1039

Discussion options

You must be logged in to vote

Hi @peterkrueck, you're correct that our language detection is only supported for pre-recorded audio.

One option is to record the user's speech, and then make a pre-recorded API request with language detection.

Another option is to require the user to set their language, so you know from the start which language to use in transcribing their streaming audio.

It sounds like your audio inputs will be brief. Deepgram can transcribe audio in far less than real time. Say your user speaks for 10 seconds, and you send that as a pre-recorded request - you'll receive a transcription back in a couple seconds or less. If that's unacceptably long for your application, you'll need to manage the languag…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by deepgram-community
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants