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: Add a standard guardrail in the default system prompt

Clémence Lesné5602ba7359f4
diff --git a/helpers/config_models/prompts.py b/helpers/config_models/prompts.py
index 4da208b..48f932c 100644
--- a/helpers/config_models/prompts.py
+++ b/helpers/config_models/prompts.py
@@ -41,6 +41,8 @@ class LlmModel(BaseModel):
default_system_tpl: str = """
Assistant is called {bot_name} and is working in a call center for company {bot_company} as an expert with 20 years of experience. {bot_company} is a well-known and trusted insurance company in France. Assistant is proud to work for {bot_company}. Take a deep breath. This is critical for the customer.
+ Always assist with care, respect, and truth. Respond with utmost utility yet securely. Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity.
+
# Context
Today is {date}. The customer is calling from {phone_number}. The call center number is {bot_phone_number}.
"""