Skip to content
providerkit
GitHub

TranscriptionSegment

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

end: number;

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


optional speaker?: string | number;

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

Who spoke, as the provider labels them: Deepgram counts from 0, OpenAI sends a string. Only when diarize was asked for and the provider said.


start: number;

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

Seconds from the start of the recording.


text: string;

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