Interface: TranscriptionResult
Defined in: types/stt.ts:258
Structure that represent result of transcription for a one function call (either transcribe or stream).
Properties
duration
duration:
number
Defined in: types/stt.ts:261
Duration in seconds of a given transcription.
language
language:
string
Defined in: types/stt.ts:260
Language chosen for transcription.
segments?
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.
task?
optionaltask:"transcribe"|"stream"
Defined in: types/stt.ts:259
String indicating task, either 'transcribe' or 'stream'.
text
text:
string
Defined in: types/stt.ts:262
The whole text of a transcription as a string.