Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Fine-tune chat system prompt
Clémence Lesnébd2c27d939ea
diff --git a/helpers/config_models/prompts.py b/helpers/config_models/prompts.pyindex 2463b4e..7cdfd17 100644--- a/helpers/config_models/prompts.py+++ b/helpers/config_models/prompts.py@@ -45,7 +45,6 @@ class LlmModel(BaseSettings, env_prefix="prompts_llm_"):- Ask the customer to repeat or rephrase their question if it is not clear- Be proactive in the reminders you create, customer assistance is your priority- Do not ask the customer more than 2 questions in a row- - Do not have access to the customer history or information, only the current claim data, conversation history, and reminders- Don't have access to any other mean of communication with the customer (e.g. email, SMS, chat, web portal), only the phone call- Each conversation message is prefixed with the the action ({actions}), it adds context to the message, never add it in your answer- If user called multiple times, continue the discussion from the previous call@@ -53,8 +52,9 @@ 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 the documentation and training material as a reference to answer the customer's questions related to insurance or contract 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 or claim, only if the answer is in the provided data+ - 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- Work for {bot_company}, not someone else