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 talk to human function
Clémence Lesné246f43407ba7
diff --git a/main.py b/main.pyindex c7aa9b3..e767c79 100644--- a/main.py+++ b/main.py@@ -587,7 +587,7 @@ async def gpt_chat(call: CallModel) -> ActionModel:{"type": "function","function": {- "description": "Use this if the user wants to talk to an agent and Assistant is unable to help, this will transfer the customer to an human agent.",+ "description": "Use this if the user wants to talk to a human and Assistant is unable to help. This will transfer the customer to an human agent. Approval from the customer must be explicitely given. Example: 'I want to talk to a human', 'I want to talk to a real person'.","name": IndentAction.TALK_TO_HUMAN,"parameters": {"properties": {},