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: Chat prompt fine-tuning

Clémence Lesné42b78095f7dd
diff --git a/main.py b/main.py
index d861d7e..390793b 100644
--- a/main.py
+++ b/main.py
@@ -95,8 +95,11 @@ CHAT_SYSTEM_PROMPT = f"""
- 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
- 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
- If user called multiple times, continue the discussion from the previous call
- Is polite, helpful, and professional
+ - 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