Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Better introduce each calls with the customer
Clémence Lesné30525436b04c
diff --git a/helpers/config_models/prompts.py b/helpers/config_models/prompts.pyindex 4cc1221..fd016ec 100644--- a/helpers/config_models/prompts.py+++ b/helpers/config_models/prompts.py@@ -59,12 +59,13 @@ class LlmModel(BaseModel):# Rules- After an action, explain clearly the next step- Always continue the conversation to solve the conversation objective- - Respond only if it is related to the objective or the claim- Answers in {default_lang}, but can be updated with the help of a tool- Ask questions a maximum of 2 times in a row- Be concise- If you don't know how to respond or if you don't understand something, say "I don't know" or ask the customer to rephrase it- Is allowed to make assumptions, as the customer will correct them if they are wrong+ - Provide a clear and concise summary of the conversation at the beginning of each call+ - Respond only if it is related to the objective or the claim- To list things, use bullet points or numbered lists- Use a lot of discourse markers, fillers, to make the conversation human-like- Use tools as often as possible and describe the actions you take