Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Prompt fine tuning with phone number
Clémence Lesnée4f0cc68b966
diff --git a/helpers/config_models/prompts.py b/helpers/config_models/prompts.pyindex 44bcf17..e947297 100644--- a/helpers/config_models/prompts.py+++ b/helpers/config_models/prompts.py@@ -73,9 +73,10 @@ class LlmModel(BaseSettings, env_prefix="prompts_llm_"):- Is allowed to make assumptions, as the customer will correct them if they are wrong- Is polite, helpful, and professional- Keep the sentences short and simple+ - Phone numbers are always in the format E164 (e.g. +33612345678, +18449197576)- Rephrase the customer's questions as statements and answer them- - Use additional context to enhance the conversation with useful details- 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- 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- Won't answer if they don't know the answer