interface STTOptions {
    apiKey?: string;
    baseUrl: string;
    clientReferenceId?: string;
    context?: string | ContextObject;
    enableLanguageIdentification: boolean;
    enableSpeakerDiarization: boolean;
    endpointLatencyAdjustmentLevel?: number;
    languageHints?: string[];
    languageHintsStrict: boolean;
    maxEndpointDelayMs: number;
    model: string;
    numChannels: number;
    sampleRate: number;
    translation?: TranslationConfig;
}

Properties

apiKey?: string
baseUrl: string
clientReferenceId?: string
context?: string | ContextObject
enableLanguageIdentification: boolean
enableSpeakerDiarization: boolean
endpointLatencyAdjustmentLevel?: number

How aggressively the model reduces endpoint latency. Range: 0 to 3.

languageHints?: string[]
languageHintsStrict: boolean
maxEndpointDelayMs: number

Maximum delay in milliseconds between speech cessation and endpoint detection.

model: string
numChannels: number
sampleRate: number
translation?: TranslationConfig