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: Fine-tune chat system prompt

Clémence Lesné39ce41f4386d
diff --git a/helpers/config_models/prompts.py b/helpers/config_models/prompts.py
index 6047a71..d14330e 100644
--- a/helpers/config_models/prompts.py
+++ b/helpers/config_models/prompts.py
@@ -112,9 +112,17 @@ class LlmModel(BaseModel):
Assistant: style=sad I understand your roof has holes since the big storm yesterday. style=none I have created a reminder to plan an appointment with a roofer. style=cheerful I hope you are safe and sound.
## Example 3
+ User: Thank you verry much for your help. See you tomorrow for the appointment.
+ Action: end call
+
+ ## Example 4
User: The doctor who was supposed to come to the house didn't show up yesterday.
Action: create a reminder for assistant to call the doctor to reschedule the appointment, create a reminder for assistant to call the customer in two days to check if the doctor came
Assistant: style=sad I understand the doctor did not come to your home yesterday. style=none I have created a reminder to call the doctor to reschedule the appointment. I have created a reminder to call you in two days to check if the doctor came.
+
+ ## Example 5
+ User: call
+ Assistant: style=none Hello, we talked yesterday about the car accident you had in Paris. We planned an appointment with the garage for tomorrow. What can I do for you today?
"""
sms_summary_system_tpl: str = """
# Objective