Skip to main content

Interface: DeepgramBatchSTTProviderConfig

Defined in: packages/agentos/src/io/hearing/providers/DeepgramBatchSTTProvider.ts:15

Configuration for the DeepgramBatchSTTProvider.

See​

DeepgramBatchSTTProvider for usage examples

Properties​

apiKey​

apiKey: string

Defined in: packages/agentos/src/io/hearing/providers/DeepgramBatchSTTProvider.ts:20

Deepgram API key used for authentication. Sent as Authorization: Token <apiKey> in the request header.


fetchImpl()?​

optional fetchImpl: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: packages/agentos/src/io/hearing/providers/DeepgramBatchSTTProvider.ts:53

Custom fetch implementation for dependency injection in tests. When omitted, the global fetch is used. This allows tests to intercept HTTP calls without mocking globals.

Call Signature​

(input, init?): Promise<Response>

MDN Reference

Parameters​
input​

RequestInfo | URL

init?​

RequestInit

Returns​

Promise<Response>

Call Signature​

(input, init?): Promise<Response>

MDN Reference

Parameters​
input​

string | Request | URL

init?​

RequestInit

Returns​

Promise<Response>

Default​

globalThis.fetch

language?​

optional language: string

Defined in: packages/agentos/src/io/hearing/providers/DeepgramBatchSTTProvider.ts:35

BCP-47 language code, e.g. 'en-US', 'fr-FR', 'de-DE'. When omitted, Deepgram applies automatic language detection.

Default​

'en-US' (set at transcribe-time if not configured here)

mipOptOut?​

optional mipOptOut: boolean

Defined in: packages/agentos/src/io/hearing/providers/DeepgramBatchSTTProvider.ts:45

Opt requests out of Deepgram's Model Improvement Program by sending mip_opt_out=true: Deepgram keeps an opted-out request's data only for the duration necessary to process the request. Off by default: Deepgram's API reference asks callers to refer to its docs for pricing impacts before setting it.

Default​

false

model?​

optional model: string

Defined in: packages/agentos/src/io/hearing/providers/DeepgramBatchSTTProvider.ts:28

Deepgram model to use for transcription. nova-3 is Deepgram's general-purpose model. See https://developers.deepgram.com/docs/models-languages-overview for available models.

Default​

'nova-3'