Interface: TranscriptionResult
Defined in: types/stt.ts:250
Structure that represent result of transcription for a one function call (either transcribe or stream).
Properties
duration
duration:
number
Defined in: types/stt.ts:253
Duration in seconds of a given transcription.
language
language:
string
Defined in: types/stt.ts:252
Language chosen for transcription.
segments?
optionalsegments:TranscriptionSegment[]
Defined in: types/stt.ts:255
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:251
String indicating task, either 'transcribe' or 'stream'.
text
text:
string
Defined in: types/stt.ts:254
The whole text of a transcription as a string.