DeepgramTranscriptionOptions
Deepgram-specific transcription options passed as query parameters on the WebSocket connection URL.
Defined in: src/providers/stt/deepgram/DeepgramSTT.ts:28
Deepgram-specific transcription options passed as query parameters on the WebSocket connection URL.
Remarks
These options map to Deepgram’s real-time streaming API query parameters. They are set on the DeepgramSTTConfig.options property and appended to the WebSocket URL when the connection is established.
See
DeepgramSTTConfig for the full provider configuration
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
alternatives? | number | undefined | Number of transcription alternatives to return (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:103 |
channels? | number | undefined | Number of audio channels. | src/providers/stt/deepgram/DeepgramSTT.ts:55 |
detectEntities? | boolean | undefined | Extract named entities from the transcript (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:123 |
diarize? | boolean | undefined | Enable diarization / speaker detection (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:88 |
dictation? | boolean | undefined | Enable dictation mode (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:132 |
encoding? | string | undefined | Audio encoding format. Supported: 'linear16', 'linear32', 'flac', 'alaw', 'mulaw', 'amr-nb', 'amr-wb', 'opus', 'ogg-opus', 'speex', 'g729'. | src/providers/stt/deepgram/DeepgramSTT.ts:49 |
endpointing? | number | boolean | 10 | Automatic endpointing — milliseconds of silence before end-of-speech. Set to false to disable (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:117 |
extra? | string[] | undefined | Arbitrary key:value metadata passed through to the API (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:161 |
interimResults? | boolean | undefined | Enable interim results (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:109 |
keyterms? | string[] | undefined | Specialized terminology to boost recognition. Unlike keywords, keyterms use a more advanced boosting algorithm. Example ['CompositeVoice', 'WebSocket'] | src/providers/stt/deepgram/DeepgramSTT.ts:64 |
keywords? | string[] | undefined | Custom vocabulary or keywords to boost or suppress recognition (V1 only). Append a weight to boost/suppress: e.g. 'Deepgram:2' or 'erm:-10'. See keyterms for the newer boosting API (V1 & V2). | src/providers/stt/deepgram/DeepgramSTT.ts:100 |
language? | string | undefined | Language code (e.g., 'en-US', 'es'). | src/providers/stt/deepgram/DeepgramSTT.ts:41 |
mipOptOut? | boolean | undefined | Opt out of the Deepgram Model Improvement Program. | src/providers/stt/deepgram/DeepgramSTT.ts:70 |
model? | string | undefined | Nova model to use for V1 transcription. Available models: 'nova-3' (default), 'nova-3-medical', 'nova-2', 'nova-2-general', 'nova-2-meeting', 'nova-2-finance', 'nova-2-conversationalai', 'nova-2-voicemail', 'nova-2-video', 'nova-2-medical', 'nova-2-drivethru', 'nova-2-automotive', 'nova', 'enhanced', 'base'. | src/providers/stt/deepgram/DeepgramSTT.ts:38 |
multichannel? | boolean | undefined | Transcribe each audio channel independently (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:129 |
numerals? | boolean | undefined | Convert spoken numbers to digit form, e.g. “twenty one” → “21” (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:126 |
profanityFilter? | boolean | undefined | Enable profanity filter (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:78 |
punctuation? | boolean | undefined | Enable punctuation (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:75 |
redact? | string[] | undefined | Enable redaction of sensitive information (V1 only). Example ['pci', 'ssn', 'numbers'] | src/providers/stt/deepgram/DeepgramSTT.ts:85 |
replace? | string[] | undefined | Term replacement — swap recognized terms for preferred forms (V1 only). Example ['colour:color', 'grey:gray'] | src/providers/stt/deepgram/DeepgramSTT.ts:139 |
sampleRate? | number | undefined | Sample rate for audio data in Hz (required when encoding is set). | src/providers/stt/deepgram/DeepgramSTT.ts:52 |
search? | string[] | undefined | Search for specific terms or phrases in the transcript (V1 only). Example ['action item', 'follow up'] | src/providers/stt/deepgram/DeepgramSTT.ts:146 |
smartFormat? | boolean | undefined | Enable smart formatting — auto-punctuation and readability improvements (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:91 |
tag? | string | undefined | Label for usage reporting in the Deepgram console. | src/providers/stt/deepgram/DeepgramSTT.ts:67 |
utteranceEndMs? | number | undefined | Delay in milliseconds before emitting an UtteranceEnd event (V1 only). Controls the gap required between utterances. Example 1000 | src/providers/stt/deepgram/DeepgramSTT.ts:155 |
utterances? | boolean | undefined | Enable utterance segmentation (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:106 |
vadEvents? | boolean | undefined | Emit Voice Activity Detection events (SpeechStarted) (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:120 |
version? | string | undefined | Model version override (V1 only). | src/providers/stt/deepgram/DeepgramSTT.ts:158 |