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 tools prompts
Clémence Lesnéf32213b4a143
diff --git a/helpers/llm_plugins.py b/helpers/llm_plugins.pyindex 96e6802..10425e5 100644--- a/helpers/llm_plugins.py+++ b/helpers/llm_plugins.py@@ -48,7 +48,7 @@ class LlmPlugins:async def end_call(self) -> str:"""- Use this if the customer said they want to end the call. Requires an explicit verbal validation from the customer. This will hang up the call. Example: 'I want to hang up', 'Goodbye, see you tomorrow'.+ Use this if the customer said they want to end the call. Requires an explicit verbal validation from the customer. This will hang up the call. Never use this action directly after a recall. Example: 'I want to hang up', 'Goodbye, see you tomorrow'."""await self.cancellation_callback()await handle_play(@@ -163,7 +163,7 @@ class LlmPlugins:async def talk_to_human(self) -> str:"""- Use this if the customer wants to talk to a human and Assistant is unable to help. Requires an explicit verbal validation from the customer. This will transfer the customer to an human agent. Example: 'I want to talk to a human', 'I want to talk to a real person'.+ Use this if the customer wants to talk to a human and Assistant is unable to help. Requires an explicit verbal validation from the customer. This will transfer the customer to an human agent. Never use this action directly after a recall. Example: 'I want to talk to a human', 'I want to talk to a real person'."""await self.cancellation_callback()await handle_play(