Skip to main content

Interface: DeepgramTextToSpeechProviderConfig

Defined in: packages/agentos/src/io/speech/providers/DeepgramTextToSpeechProvider.ts:15

Configuration for the DeepgramTextToSpeechProvider.

See

https://developers.deepgram.com/docs/text-to-speech

Properties

apiKey

apiKey: string

Defined in: packages/agentos/src/io/speech/providers/DeepgramTextToSpeechProvider.ts:17

Deepgram API key. Sent as Authorization: Token <apiKey>.


baseUrl?

optional baseUrl: string

Defined in: packages/agentos/src/io/speech/providers/DeepgramTextToSpeechProvider.ts:22

Base URL for the Deepgram API.

Default

'https://api.deepgram.com/v1'

fetchImpl()?

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

Defined in: packages/agentos/src/io/speech/providers/DeepgramTextToSpeechProvider.ts:29

Custom fetch implementation for dependency injection in tests.

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>


voice?

optional voice: string

Defined in: packages/agentos/src/io/speech/providers/DeepgramTextToSpeechProvider.ts:27

Default Aura voice model.

Default

'aura-2-thalia-en'