Skip to content

Latest commit

 

History

History
56 lines (29 loc) · 1.91 KB

File metadata and controls

56 lines (29 loc) · 1.91 KB

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?

optional segments: 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?

optional task: "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.