Repository navigation
@ai-sdk/deepgram@3.1.58
Patch Changes
-
743e15b: Add Deepgram Flux support: Flux speech-to-text (
flux-general-en,flux-general-multi) withexperimental_streamTranscribeover the turn-based/v2/listenWebSocket, and Flux text-to-speech (thefluxvoice family) withgenerateSpeechandexperimental_streamSpeechover/v2/speak. Flux transcription models now reject non-streamingtranscribecalls with a clear error instead of failing upstream. -
0e37b97: fix(deepgram): decode base64 audio before uploading it for transcription
-
29dc375: fix(deepgram): handle empty transcription results and repeated list options
Pre-recorded transcription of audio without samples, which Deepgram answers with no channels, threw a
TypeErrorinstead of returning a result; it now returns an empty transcript with no segments and the duration Deepgram reports. Aredactlist was sent as one comma-joined value (redact=pci%2Cssn), which Deepgram rejects with a 400; each entry is now sent as its ownredactparameter, as the streaming paths already do. The Flux speech-to-text entries in the model catalog now listmipOptOutas supported. -
362bd2c: Add the
mipOptOuttranscription provider option, which opts requests out of the Deepgram Model Improvement Program. It is sent asmip_opt_outon pre-recorded transcription (/v1/listen), Nova live transcription (the/v1/listenWebSocket) and Flux live transcription (the/v2/listenWebSocket), and omitted when unset. -
Updated dependencies [743e15b]
- @ai-sdk/provider-utils@5.0.86