Configuration options for STTv2 (Deepgram Flux model).

interface STTv2Options {
    apiKey?: string;
    eagerEotThreshold?: number;
    endpointUrl: string;
    eotThreshold?: number;
    eotTimeoutMs?: number;
    keyterms: string[];
    language?: string;
    languageHint?: string[];
    mipOptOut?: boolean;
    model: string;
    sampleRate: number;
    tags?: string[];
}

Properties

apiKey?: string
eagerEotThreshold?: number
endpointUrl: string
eotThreshold?: number
eotTimeoutMs?: number
keyterms: string[]
language?: string
languageHint?: string[]

List of language hints to bias the model for improved accuracy. Only usable with flux-general-multi.

mipOptOut?: boolean
model: string
sampleRate: number
tags?: string[]