Interface AudioTranscriptionConfig

The audio transcription configuration in Setup.

interface AudioTranscriptionConfig {
    adaptationPhrases?: string[];
    customVocabulary?: string[];
    diarization?: boolean;
    languageAuto?: LanguageAuto;
    languageCodes?: string[];
    languageHints?: LanguageHints;
    wordTimestamp?: boolean;
}

Properties

adaptationPhrases?: string[]

Deprecated. A list of phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms.

customVocabulary?: string[]

A list of custom vocabulary phrases, which biases the ASR model to improve recognition of these specific terms.

diarization?: boolean

Configures speaker diarization.

languageAuto?: LanguageAuto

Deprecated: Auto-detection is now the default when language_codes is omitted. This field will be removed in a future version.

languageCodes?: string[]

BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.

languageHints?: LanguageHints

Deprecated: Use top-level language_codes instead. This field will be removed in a future version.

wordTimestamp?: boolean

Configures word-level timestamp generation.