interface STTOptions {
    apiKey?: string;
    baseURL?: string;
    enableLogging?: boolean;
    httpSession?: STTHTTPSession;
    includeTimestamps?: boolean;
    keyterms?: string[];
    languageCode?: string;
    model?: string;
    modelId?: string;
    noVerbatim?: boolean;
    sampleRate?: STTRealtimeSampleRates;
    serverVad?: null | VADOptions;
    tagAudioEvents?: boolean;
    useRealtime?: boolean;
}

Properties

apiKey?: string
baseURL?: string
enableLogging?: boolean
httpSession?: STTHTTPSession
includeTimestamps?: boolean
keyterms?: string[]

Keywords or phrases to bias transcription towards. Scribe v2 batch accepts up to 1000 keyterms of at most 50 characters each; realtime accepts up to 50 keyterms of at most 20 characters each. Usage incurs additional costs.

languageCode?: string
model?: string
modelId?: string

Deprecated

Use model instead.

noVerbatim?: boolean
serverVad?: null | VADOptions
tagAudioEvents?: boolean
useRealtime?: boolean