Type Alias LanguageDetectionOptions

LanguageDetectionOptions: {
    code_switching?: boolean | null;
    code_switching_confidence_threshold?: number | null;
    expected_languages?: string[] | null;
    fallback_language?: string | null;
}

Options for controlling the behavior of Automatic Language Detection

Type declaration

  • Optionalcode_switching?: boolean | null

    Should code switching be enabled for this transcription.

  • Optionalcode_switching_confidence_threshold?: number | null

    The confidence threshold for the automatically detected code switching language.

  • Optionalexpected_languages?: string[] | null

    A list of languages that the audio could be expected to be.

  • Optionalfallback_language?: string | null

    The language to fallback to in case the language detection does not predict any of the expected ones.