Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

perf: Use non multilangual TTS languages as they are in Preview

Clémence Lesné2664e94de7e9
diff --git a/helpers/config_models/conversation.py b/helpers/config_models/conversation.py
index ccd80f7..0c7b98e 100644
--- a/helpers/config_models/conversation.py
+++ b/helpers/config_models/conversation.py
@@ -37,30 +37,22 @@ class LanguageModel(BaseModel):
LanguageEntryModel(
pronunciations_en=["French", "FR", "France"],
short_code="fr-FR",
- # Use voice optimized for conversational use
- # See: https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/introducing-more-multilingual-ai-voices-optimized-for/ba-p/4012832
- voice="fr-FR-VivienneMultilingualNeural",
+ voice="fr-FR-DeniseNeural",
),
LanguageEntryModel(
short_code="en-US",
pronunciations_en=["English", "EN", "United States"],
- # Use voice optimized for conversational use
- # See: https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/introducing-more-multilingual-ai-voices-optimized-for/ba-p/4012832
- voice="en-US-AvaMultilingualNeural",
+ voice="en-US-AvaNeural",
),
LanguageEntryModel(
short_code="es-ES",
pronunciations_en=["Spanish", "ES", "Spain"],
- # Use voice optimized for conversational use
- # See: https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/introducing-7-new-realistic-ai-voices-optimized-for/ba-p/3971966
- voice="es-ES-XimenaNeural",
+ voice="es-ES-ElviraNeural",
),
LanguageEntryModel(
short_code="zh-CN",
pronunciations_en=["Chinese", "ZH", "China"],
- # Use voice optimized for conversational use
- # See: https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/introducing-more-multilingual-ai-voices-optimized-for/ba-p/4012832
- voice="zh-CN-XiaoxiaoMultilingualNeural",
+ voice="zh-CN-XiaoxiaoNeural",
),
]