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

doc: Allign doc to the current call models

Clémence Lesnéb209ded02294
diff --git a/README.md b/README.md
index 277acb0..044608b 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ Extract of the data stored during the call:
"incident_date_time": "2024-01-11T19:33:41",
"incident_description": "The vehicle began to travel with a burning smell and the driver pulled over to the side of the freeway.",
"policy_number": "B01371946",
- "policyholder_contact_info": "[number masked for the demo]",
+ "policyholder_phone": "[number masked for the demo]",
"policyholder_name": "Clémence Lesne",
"vehicle_info": "Ford Fiesta 2003"
},
diff --git a/docs/demo.json b/docs/demo.json
index 38bde62..9e07b94 100644
--- a/docs/demo.json
+++ b/docs/demo.json
@@ -11,7 +11,7 @@
"medical_records": null,
"police_report_number": null,
"policy_number": "B01371946",
- "policyholder_contact_info": "[number masked for the demo]",
+ "policyholder_phone": "[number masked for the demo]",
"policyholder_name": "Clémence Lesne",
"pre_existing_damage_description": null,
"property_damage_description": null,
@@ -134,8 +134,8 @@
"persona": "assistant",
"tool_calls": [
{
- "content": "Updated claim field \"policyholder_contact_info\" with value \"[number masked for the demo]\".",
- "function_arguments": "{\"field\":\"policyholder_contact_info\",\"value\":\"[number masked for the demo]\",\"customer_response\":\"Je confirme que votre num\\u00e9ro de t\\u00e9l\\u00e9phone est celui qui s'affiche \\u00e0 l'\\u00e9cran, [number masked for the demo], et je vais l'ajouter \\u00e0 votre dossier.\"}",
+ "content": "Updated claim field \"policyholder_phone\" with value \"[number masked for the demo]\".",
+ "function_arguments": "{\"field\":\"policyholder_phone\",\"value\":\"[number masked for the demo]\",\"customer_response\":\"Je confirme que votre num\\u00e9ro de t\\u00e9l\\u00e9phone est celui qui s'affiche \\u00e0 l'\\u00e9cran, [number masked for the demo], et je vais l'ajouter \\u00e0 votre dossier.\"}",
"function_name": "updated_claim",
"id": "call_1OOvuR291YXDqfuYV89e3sxD"
}