docs: clarify Azure instanceName format for speech services

- Add Azure OpenAI STT/TTS examples to librechat.example.yaml
- Clarify that instanceName should be the <NAME> part only (e.g., 'my-instance')
- Not the full URL (e.g., 'my-instance.cognitiveservices.azure.com')
- Add note that full domain format is still supported for backward compatibility

Examples:
- Correct: instanceName: 'my-instance'
- Also works: instanceName: 'my-instance.cognitiveservices.azure.com'

Related to #10283
This commit is contained in:
constanttime 2025-11-05 21:34:28 +05:30
parent ce7e6edad8
commit fabce6f823

View file

@ -136,6 +136,16 @@ registration:
# apiKey: '${TTS_API_KEY}'
# model: ''
# voices: ['']
# azureOpenAI:
# # instanceName: The <NAME> part of your Azure endpoint URL
# # For example, if your endpoint is: https://my-instance.cognitiveservices.azure.com
# # Then instanceName should be: 'my-instance' (not the full URL)
# instanceName: '${AZURE_TTS_INSTANCE_NAME}'
# apiKey: '${AZURE_TTS_API_KEY}'
# deploymentName: '${AZURE_TTS_DEPLOYMENT_NAME}'
# apiVersion: '2024-02-01'
# model: 'tts-1'
# voices: ['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer']
#
# stt:
@ -143,6 +153,15 @@ registration:
# url: ''
# apiKey: '${STT_API_KEY}'
# model: ''
# azureOpenAI:
# # instanceName: The <NAME> part of your Azure endpoint URL
# # For example, if your endpoint is: https://my-instance.cognitiveservices.azure.com
# # Then instanceName should be: 'my-instance' (not the full URL)
# # Note: The code also supports full domain format for backward compatibility
# instanceName: '${AZURE_STT_INSTANCE_NAME}'
# apiKey: '${AZURE_STT_API_KEY}'
# deploymentName: '${AZURE_STT_DEPLOYMENT_NAME}'
# apiVersion: '2024-02-01'
# rateLimits:
# fileUploads: