Structured output schema
{
"outcome": "Appointment Booking for Hotels outcome",
"fields": [
{
"description": "guest name captured during the call.",
"name": "guest_name",
"required": true,
"type": "text"
},
{
"description": "room number captured during the call.",
"name": "room_number",
"required": true,
"type": "text"
},
{
"description": "request type captured during the call.",
"name": "request_type",
"required": true,
"type": "text"
},
{
"description": "issue captured during the call.",
"name": "issue",
"required": true,
"type": "text"
},
{
"description": "urgency captured during the call.",
"name": "urgency",
"required": true,
"type": "text"
},
{
"description": "preferred time captured during the call.",
"name": "preferred_time",
"required": false,
"type": "date"
},
{
"description": "staff follow up captured during the call.",
"name": "staff_follow_up",
"required": false,
"type": "text"
},
{
"description": "caller name captured during the call.",
"name": "caller_name",
"required": false,
"type": "text"
},
{
"description": "phone number from caller id captured during the call.",
"name": "phone_number_from_caller_id",
"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"
}
]
}