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: Remove extra_details from default claim model

Clémence Lesné8b11811f1753
diff --git a/README.md b/README.md
index 8e528fa..61e9358 100644
--- a/README.md
+++ b/README.md
@@ -459,7 +459,6 @@ By default, the schema of composed of:
- `caller_email` (`email`)
- `caller_name` (`text`)
- `caller_phone` (`phone_number`)
-- `extra_details` (`text`)
Values are validated to ensure the data format commit to your schema. They can be either:
diff --git a/helpers/config_models/workflow.py b/helpers/config_models/workflow.py
index 34abe73..5823e8e 100644
--- a/helpers/config_models/workflow.py
+++ b/helpers/config_models/workflow.py
@@ -117,11 +117,6 @@ class WorkflowInitiateModel(BaseModel):
name="policyholder_phone",
type=ClaimTypeEnum.PHONE_NUMBER,
),
- ClaimFieldModel(
- description="Relevant details gathered in the conversation than can be useful to solve the task",
- name="extra_details",
- type=ClaimTypeEnum.TEXT,
- ),
],
)