Interface: AzureSpeechTTSProviderConfig
Defined in: packages/agentos/src/speech/providers/AzureSpeechTTSProvider.ts:14
Configuration for the AzureSpeechTTSProvider.
See
- AzureSpeechTTSProvider for usage examples
- https://learn.microsoft.com/azure/ai-services/speech-service/rest-text-to-speech
Properties
defaultVoice?
optionaldefaultVoice:string
Defined in: packages/agentos/src/speech/providers/AzureSpeechTTSProvider.ts:39
Default voice name to use when none is specified per-request.
Must be a valid Azure voice short-name (e.g. 'en-US-JennyNeural').
Default
'en-US-JennyNeural'
See
https://learn.microsoft.com/azure/ai-services/speech-service/language-support#prebuilt-neural-voices
fetchImpl()?
optionalfetchImpl: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: packages/agentos/src/speech/providers/AzureSpeechTTSProvider.ts:45
Custom fetch implementation for dependency injection in tests.
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | Request | URL
init?
RequestInit
Returns
Promise<Response>
Default
globalThis.fetch
key
key:
string
Defined in: packages/agentos/src/speech/providers/AzureSpeechTTSProvider.ts:21
Azure Cognitive Services subscription key.
Sent as the Ocp-Apim-Subscription-Key header value.
See AzureSpeechSTTProviderConfig.key for the same pattern on STT.
region
region:
string
Defined in: packages/agentos/src/speech/providers/AzureSpeechTTSProvider.ts:30
Azure region where the Speech resource is deployed, e.g. 'eastus',
'westeurope', 'southeastasia'.
The region determines the REST endpoint hostname:
https://{region}.tts.speech.microsoft.com