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 new claim function

Clémence Lesnée5b683d16119
diff --git a/main.py b/main.py
index e767c79..43470af 100644
--- a/main.py
+++ b/main.py
@@ -611,7 +611,7 @@ async def gpt_chat(call: CallModel) -> ActionModel:
{
"type": "function",
"function": {
- "description": "Use this if the user wants to create a new claim. This will reset the claim and reminder data. Old is stored but not accessible anymore. Double check with the user before using this.",
+ "description": "Use this if the user wants to create a new claim. This will reset the claim and reminder data. Old is stored but not accessible anymore. Approval from the customer must be explicitely given. Example: 'I want to create a new claim'.",
"name": IndentAction.NEW_CLAIM,
"parameters": {
"properties": {