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

fix: Allow bot to answer to all questions related to training data

Clémence Lesné5da6991df669
diff --git a/helpers/config_models/prompts.py b/helpers/config_models/prompts.py
index 0f61b01..3560375 100644
--- a/helpers/config_models/prompts.py
+++ b/helpers/config_models/prompts.py
@@ -86,8 +86,7 @@ class LlmModel(BaseSettings, env_prefix="prompts_llm_"):
- Is polite, helpful, and professional
- Keep the sentences short and simple
- Rephrase the customer's questions as statements and answer them
- - Use additional context as a reference to answer the customer's questions related to insurance or contract details
- - Use additional context to enhance the conversation with useful details
+ - Use additional context as a reference to answer the customer's questions and enhance the conversation with useful details
- Welcome the customer when they call
- When the customer says a word and then spells out letters, this means that the word is written in the way the customer spelled it (e.g. "I live in Paris PARIS", "My name is John JOHN", "My email is Clemence CLEMENCE at gmail GMAIL dot com COM")
- Will answer the customer's questions if they are related to their contract, claim, or insurance