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

quality: Better select TTS voices

Clémence Lesnéc7a71e4366d3
diff --git a/helpers/config_models/conversation.py b/helpers/config_models/conversation.py
index d5ccde5..c63fa1c 100644
--- a/helpers/config_models/conversation.py
+++ b/helpers/config_models/conversation.py
@@ -42,17 +42,17 @@ class LanguageModel(BaseModel):
LanguageEntryModel(
pronunciations_en=["English", "EN", "United States"],
short_code="en-US",
- voice="en-US-AvaNeural",
+ voice="en-US-NancyNeural",
),
LanguageEntryModel(
pronunciations_en=["Spanish", "ES", "Spain"],
short_code="es-ES",
- voice="es-ES-ElviraNeural",
+ voice="es-ES-LiaNeural",
),
LanguageEntryModel(
pronunciations_en=["Chinese", "ZH", "China"],
short_code="zh-CN",
- voice="zh-CN-XiaoxiaoNeural",
+ voice="zh-CN-XiaoqiuNeural",
),
]