Skip to main content

Interface: AzureSpeechSTTProviderConfig

Defined in: packages/agentos/src/hearing/providers/AzureSpeechSTTProvider.ts:14

Configuration for the AzureSpeechSTTProvider.

See

Properties

fetchImpl()?

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

Defined in: packages/agentos/src/hearing/providers/AzureSpeechSTTProvider.ts:38

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>

Default

globalThis.fetch

key

key: string

Defined in: packages/agentos/src/hearing/providers/AzureSpeechSTTProvider.ts:21

Azure Cognitive Services subscription key. Sent as the Ocp-Apim-Subscription-Key header — this is Azure's standard authentication mechanism for Cognitive Services REST APIs. Obtain from the Azure portal under your Speech resource's "Keys and Endpoint".


region

region: string

Defined in: packages/agentos/src/hearing/providers/AzureSpeechSTTProvider.ts:32

Azure region where the Speech resource is deployed, e.g. 'eastus', 'westeurope', 'southeastasia'.

The region determines the REST endpoint hostname: https://{region}.stt.speech.microsoft.com

See

https://learn.microsoft.com/azure/ai-services/speech-service/regions