Skip to content
providerkit
GitHub

DeepgramTranscriptionConfig

Defined in: core/src/providers/deepgram-transcription.ts:20

apiKey: string;

Defined in: core/src/providers/deepgram-transcription.ts:21


optional baseUrl?: string;

Defined in: core/src/providers/deepgram-transcription.ts:25

Default https://api.deepgram.com. Another host (a self-hosted Deepgram) is passed whole.


optional fetchImpl?: FetchLike;

Defined in: core/src/providers/deepgram-transcription.ts:28

Swapped in tests, or to route through a proxy. Defaults to global fetch.


optional headers?: Record<string, string>;

Defined in: core/src/providers/deepgram-transcription.ts:26


optional maxAudioBytes?: number;

Defined in: core/src/transcription-core.ts:87

Largest recording sent, in bytes. Default 25 MiB, OpenAI’s documented limit; Deepgram’s own wire defaults to its 2 GB. Over it is refused before any request. Never cut.

TranscriptionLimits.maxAudioBytes


optional model?: string;

Defined in: core/src/providers/deepgram-transcription.ts:23

Default nova-3.


optional siteName?: string;

Defined in: core/src/attribution.ts:15

App name, sent as X-Title (e.g. “Your App”).

Attribution.siteName


optional siteUrl?: string;

Defined in: core/src/attribution.ts:13

Site URL, sent as HTTP-Referer (e.g. “https://your.app”).

Attribution.siteUrl


optional timeoutMs?: number;

Defined in: core/src/transcription-core.ts:90

One deadline for the whole call: the upload, the work and the reply. Default 600,000: ten minutes, past which Deepgram itself answers 504.

TranscriptionLimits.timeoutMs