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 "HELLO" static prompt

Clémence Lesné5b7fa06ae720
diff --git a/helpers/prompts.py b/helpers/prompts.py
index af17b7f..6a921ff 100644
--- a/helpers/prompts.py
+++ b/helpers/prompts.py
@@ -61,7 +61,7 @@ class TTS(str, Enum):
END_CALL_TO_CONNECT_AGENT = "Bien sûr, restez en ligne. Je vais vous transférer à un agent."
ERROR = "Je suis désolé, j'ai rencontré une erreur. Pouvez-vous répéter votre demande ?"
GOODBYE = f"Merci de votre appel, j'espère avoir pu vous aider. N'hésitez pas à rappeler, j'ai tout mémorisé. {CONFIG.workflow.bot_company} vous souhaite une excellente journée !"
- HELLO = f"Bonjour, je suis {CONFIG.workflow.bot_name}, l'assistant {CONFIG.workflow.bot_company} ! Je suis spécialiste des sinistres. Lorsque vous entendrez un bip, c'est que je travaille. Comment puis-je vous aider ?"
+ HELLO = f"Bonjour, je suis {CONFIG.workflow.bot_name}, l'assistant {CONFIG.workflow.bot_company} ! Je suis spécialiste des sinistres. Lorsque vous entendrez un bip, c'est que je travaille. Mais d'abord, quel est l'objet de votre appel ?"
NEW_CLAIM = "Je vais créer un nouveau dossier pour vous..."
NEW_REMINDER = "Je crée un rappel dans votre dossier..."
TIMEOUT_SILENCE = "Je suis désolé, je n'ai rien entendu. Si vous avez besoin d'aide, dites-moi comment je peux vous aider."