Skip to content
providerkit
GitHub

TranscriptionResult

Defined in: core/src/transcription-core.ts:60

optional durationSeconds?: number;

Defined in: core/src/transcription-core.ts:66

The recording’s length in seconds, as the provider stated it. Never estimated.


model: string;

Defined in: core/src/transcription-core.ts:70

The model that was asked for.


segments: TranscriptionSegment[];

Defined in: core/src/transcription-core.ts:64

Timed pieces of the transcript. Empty when the wire or the model gives none.


text: string;

Defined in: core/src/transcription-core.ts:62

The whole transcript. “” when nobody spoke.


optional usage?: TranscriptionUsage;

Defined in: core/src/transcription-core.ts:68

Only when the provider reported it.