Interface Transcription

Audio transcription in Server Content.

interface Transcription {
    endOffset?: string;
    finished?: boolean;
    languageCode?: string;
    speakerLabel?: string;
    startOffset?: string;
    text?: string;
    words?: WordInfo[];
}

Properties

endOffset?: string

End offset in time of the transcription relative to the start of the audio.

finished?: boolean

Optional. The bool indicates the end of the transcription.

languageCode?: string

The BCP-47 language code of the transcription.

speakerLabel?: string

A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2").

startOffset?: string

Start offset in time of the transcription relative to the start of the audio.

text?: string

Optional. Transcription text.

words?: WordInfo[]

Detailed word-level transcriptions and timing details.