mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"rule": "/v1/systemone answers in Jev's shape: model, answers and usage, each answer Jev's fields and no Kai metadata, 64 KB at most at 100 questions.",
|
|
"cases": [
|
|
{
|
|
"path": "compat",
|
|
"send": [
|
|
{
|
|
"state": "I was charged twice for my March invoice. Please refund the duplicate.",
|
|
"questions": {
|
|
"$questions": [
|
|
100,
|
|
[
|
|
{
|
|
"type": "noul",
|
|
"instructions": "Is this about billing?",
|
|
"criteria": {
|
|
"true": "it concerns charges, invoices or refunds",
|
|
"false": "it concerns something else"
|
|
}
|
|
},
|
|
{
|
|
"type": "choice",
|
|
"instructions": "Which team should handle this?",
|
|
"criteria": {
|
|
"billing": "charges, invoices, refunds",
|
|
"tech": "bugs and outages",
|
|
"sales": "plans and upgrades"
|
|
}
|
|
},
|
|
{
|
|
"type": "score",
|
|
"instructions": "How urgent is this?",
|
|
"criteria": [
|
|
"can wait",
|
|
"this week",
|
|
"today",
|
|
"right now"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"expect": {
|
|
"status": 200,
|
|
"checks": [
|
|
"jev_shape",
|
|
"answered"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|