v1.1.0
Added
-
Prerecorded transcription responses can now be used to generate WebVTT and SRT caption files. Example:
const response = await deepgram.transcription.preRecorded( { url: "URL_TO_FILE" }, { punctuate: true, utterances: true, } ); const webVTT = response.toWebVTT(); const SRT = response.toSRT();
The utterances feature is required to use this functionality.