Interface Transcription

Audio transcription in Server Content.

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

Properties

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").

text?: string

Optional. Transcription text.

words?: WordInfo[]

Detailed word-level transcriptions and timing details.