Skip to main content

Interface: DeepgramBatchSTTProviderConfig

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

Configuration for the DeepgramBatchSTTProvider.

See

DeepgramBatchSTTProvider for usage examples

Properties

apiKey

apiKey: string

Defined in: packages/agentos/src/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/hearing/providers/DeepgramBatchSTTProvider.ts:42

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/hearing/providers/DeepgramBatchSTTProvider.ts:34

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)

model?

optional model: string

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

Deepgram model to use for transcription. See https://developers.deepgram.com/docs/models for available models.

Default

'nova-2'