// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface SonioxTranscriber {
    /** The Soniox model to use for transcription. */
    model?: Vapi.SonioxTranscriberModel | undefined;
    /** The language for transcription. Uses ISO 639-1 codes. Soniox supports 60+ languages with a single universal model. */
    language?: Vapi.SonioxTranscriberLanguage | undefined;
    /** When enabled, restricts transcription to the language specified in the language field. When disabled, the model can detect and transcribe any of 60+ supported languages. Defaults to true. */
    languageHintsStrict?: boolean | undefined;
    /** Maximum delay in milliseconds between when the speaker stops and when the endpoint is detected. Lower values mean faster turn-taking but more false endpoints. Range: 500-3000. Default: 500. */
    maxEndpointDelayMs?: number | undefined;
    /** Custom vocabulary terms to boost recognition accuracy. Useful for brand names, product names, and domain-specific terminology. Maps to Soniox context.terms. */
    customVocabulary?: string[] | undefined;
    /** This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails. */
    fallbackPlan?: Vapi.FallbackTranscriberPlan | undefined;
}
