{
"model": "jev-1.13.0",
"state": "I was charged twice for my annual plan this morning. Please refund one of the charges today.",
"questions": {
"wants_refund": {
"type": "noul",
"instructions": "Is the customer asking for money back?"
},
"queue": {
"type": "choice",
"instructions": "Which queue should handle this?",
"criteria": {
"billing": "Billing department",
"technical": "Technical support",
"sales": "Sales team"
}
},
"urgency": {
"type": "score",
"instructions": "How urgent is this issue?",
"criteria": [
"Can wait a week",
"Should be handled this week",
"Needs a reply today"
]
}
}
}curl --location 'https://omnirouters.com/v1/systemone' \
--header 'Authorization: Bearer sk-xxxx' \
--header 'Content-Type: application/json' \
--data '{
"model": "jev-1.13.0",
"state": "I was charged twice for my annual plan this morning. Please refund one of the charges today.",
"questions": {
"wants_refund": {
"type": "noul",
"instructions": "Is the customer asking for money back?"
},
"queue": {
"type": "choice",
"instructions": "Which queue should handle this?",
"criteria": {
"billing": "Billing department",
"technical": "Technical support",
"sales": "Sales team"
}
},
"urgency": {
"type": "score",
"instructions": "How urgent is this issue?",
"criteria": [
"Can wait a week",
"Should be handled this week",
"Needs a reply today"
]
}
}
}'{}