TranscriptionProviderConfig
Defined in: core/src/providers/transcription-factory.ts:14
Extends
Section titled “Extends”Properties
Section titled “Properties”apiKey
Section titled “apiKey”apiKey: string;Defined in: core/src/providers/transcription-factory.ts:15
baseUrl?
Section titled “baseUrl?”optional baseUrl?: string;Defined in: core/src/providers/transcription-factory.ts:23
Replaces the preset’s host, for a server that copies its route (Groq, a local Whisper
server, a proxy). The preset’s default model is a fact about its own host, so it does not
follow you here: pass the model.
fetchImpl?
Section titled “fetchImpl?”optional fetchImpl?: FetchLike;Defined in: core/src/providers/transcription-factory.ts:26
Swapped in tests, or to route through a proxy. Defaults to global fetch.
headers?
Section titled “headers?”optional headers?: Record<string, string>;Defined in: core/src/providers/transcription-factory.ts:24
maxAudioBytes?
Section titled “maxAudioBytes?”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.
Inherited from
Section titled “Inherited from”TranscriptionLimits.maxAudioBytes
model?
Section titled “model?”optional model?: string;Defined in: core/src/providers/transcription-factory.ts:17
Absent: the preset’s transcription.defaultModel. A preset without one needs this.
siteName?
Section titled “siteName?”optional siteName?: string;Defined in: core/src/attribution.ts:15
App name, sent as X-Title (e.g. “Your App”).
Inherited from
Section titled “Inherited from”siteUrl?
Section titled “siteUrl?”optional siteUrl?: string;Defined in: core/src/attribution.ts:13
Site URL, sent as HTTP-Referer (e.g. “https://your.app”).
Inherited from
Section titled “Inherited from”timeoutMs?
Section titled “timeoutMs?”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.