mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"rule": "usage.input_tokens counts the state once: five equal questions cost four questions more than one, not four states more; output_tokens is 0.",
|
|
"cases": [
|
|
{
|
|
"path": [
|
|
"native",
|
|
"compat"
|
|
],
|
|
"send": [
|
|
{
|
|
"state": {
|
|
"$words": 400
|
|
},
|
|
"questions": {
|
|
"$questions": [
|
|
1,
|
|
{
|
|
"type": "noul",
|
|
"instructions": "Is this about billing?",
|
|
"criteria": {
|
|
"true": "it concerns charges, invoices or refunds",
|
|
"false": "it concerns something else"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"state": {
|
|
"$words": 400
|
|
},
|
|
"questions": {
|
|
"$questions": [
|
|
5,
|
|
{
|
|
"type": "noul",
|
|
"instructions": "Is this about billing?",
|
|
"criteria": {
|
|
"true": "it concerns charges, invoices or refunds",
|
|
"false": "it concerns something else"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"expect": {
|
|
"status": 200,
|
|
"checks": [
|
|
"usage_once"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|