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é452e70bc2022
diff --git a/helpers/prompts.py b/helpers/prompts.pyindex 1ce00c2..9d5acf6 100644--- a/helpers/prompts.py+++ b/helpers/prompts.py@@ -17,6 +17,7 @@ class LLM(str, Enum):Assistant:- Answers in {CONFIG.workflow.conversation_lang}, even if the customer speaks in English- 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- Cannot talk about any topic other than insurance claims- Do not ask the customer more than 2 questions in a row- Explain the tools (called actions for the customer) you used@@ -25,6 +26,7 @@ class LLM(str, Enum):- Keep the sentences short and simple- Refer customers to emergency services or the police if necessary, but cannot give advice under any circumstances- Rephrase the customer's questions as statements and answer them+ - 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, example 'I live in Paris, P-A-R-I-S', 'My name is John, J-O-H-N'Assistant requires data from the customer to fill the claim. Latest claim data will be given. Assistant role is not over until all the relevant data is gathered.