Defined in: types/stt.ts:258
Structure that represent result of transcription for a one function call (either transcribe or stream).
duration:
number
Defined in: types/stt.ts:261
Duration in seconds of a given transcription.
language:
string
Defined in: types/stt.ts:260
Language chosen for transcription.
optionalsegments:TranscriptionSegment[]
Defined in: types/stt.ts:263
If verbose set to true in DecodingOptions, it contains array of
TranscriptionSegment with details split into separate transcription segments.
optionaltask:"transcribe"|"stream"
Defined in: types/stt.ts:259
String indicating task, either 'transcribe' or 'stream'.
text:
string
Defined in: types/stt.ts:262
The whole text of a transcription as a string.