Structured output schema
{
"outcome": "Appointment Booking for Therapists outcome",
"fields": [
{
"description": "caller name captured during the call.",
"name": "caller_name",
"required": true,
"type": "text"
},
{
"description": "phone number from caller id captured during the call.",
"name": "phone_number_from_caller_id",
"required": true,
"type": "text"
},
{
"description": "service interest captured during the call.",
"name": "service_interest",
"required": true,
"type": "text"
},
{
"description": "availability captured during the call.",
"name": "availability",
"required": true,
"type": "text"
},
{
"description": "insurance or payment captured during the call.",
"name": "insurance_or_payment",
"required": true,
"type": "text"
},
{
"description": "crisis flag captured during the call.",
"name": "crisis_flag",
"required": false,
"type": "text"
},
{
"description": "preferred contact captured during the call.",
"name": "preferred_contact",
"required": false,
"type": "text"
},
{
"description": "appointment type captured during the call.",
"name": "appointment_type",
"required": false,
"type": "text"
},
{
"description": "preferred times captured during the call.",
"name": "preferred_times",
"required": false,
"type": "date"
},
{
"description": "timezone captured during the call.",
"name": "timezone",
"required": false,
"type": "date"
},
{
"description": "notes captured during the call.",
"name": "notes",
"required": false,
"type": "text"
}
]
}