Typed decision/classification service with an in-process gte-small ONNX embedding engine and lexical fallback, JS/Python SDKs, adapters, and the otsone model family. Apache-2.0 (sub-packages keep their MIT licenses). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
580 B
JSON
22 lines
580 B
JSON
{
|
|
"department": {
|
|
"type": "choice",
|
|
"instructions": "Which department should handle this email?",
|
|
"criteria": {
|
|
"billing": "invoices, payments, refunds",
|
|
"technical": "bugs, outages, system errors",
|
|
"sales": "pricing, new contracts",
|
|
"other": "everything else"
|
|
}
|
|
},
|
|
"urgency": {
|
|
"type": "score",
|
|
"instructions": "How urgent is this request?",
|
|
"criteria": ["not urgent", "soon", "critical deadline or blocking issue"]
|
|
},
|
|
"refund": {
|
|
"type": "noul",
|
|
"instructions": "Does the customer ask for money back?"
|
|
}
|
|
}
|