{
"structuredDataPlan": {
"enabled": true,
"schema": {
"type": "object",
"properties": {
"intent": {
"type": "string"
},
"sentiment": {
"type": "string",
"enum": [
"positive",
"neutral",
"negative"
]
},
"appointment_booked": {
"type": "boolean"
}
}
},
"messages": [
{
"role": "system",
"content": "Analyze the following call transcript according to this schema: {{schema}}"
}
]
},
"minMessagesThreshold": 2
}