Live Transcription | Running speech-to-text (STT) - without web-sockets - in Vercel #4209
Locked
winterdelta
started this conversation in
Idea
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use Deepgram's Nova STT / live-transcription - as you speak, the words appear transcribed on the screen (live).
The script below is from the Deepgram JS SDK and requires web-sockets - which I know is not supported by Vercel - however... the max timeout for a Vercel serverless function has been extended to 5min, which is ample time for a 2-min voice-message.
Question / Query:
Would there be an approach to convert this web-socket function into something which works serverless, (e.g with SWR - but where will it be fetching 'from'...)?
Looking for ideas!
I'm about to plug the script into Phind / ChatGPT 😅
'Non-live' transcription can of course be implemented, e.g. DG alternatively offer a pre-recorded transcription API - send through an audio file and get back text, but I would like the user to see their speech transcribed, as they speak. 🤔
Beta Was this translation helpful? Give feedback.
All reactions