Interface AudioTranscriptionConfig

The audio transcription configuration in Setup.

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

Properties

adaptationPhrases?: string[]

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

languageAuto?: LanguageAuto

The model will detect the language automatically. Do not use together with LanguageHints.

languageCodes?: string[]

Deprecated: use LanguageAuto or LanguageHints instead.

languageHints?: LanguageHints

Specifies one or more languages in the audio. Do not use together with LanguageAuto.