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>
161 lines
3.8 KiB
JSON
161 lines
3.8 KiB
JSON
{
|
|
"results": [
|
|
{
|
|
"model": "laya-mlx",
|
|
"result": {
|
|
"model": "laya-rl-agent",
|
|
"answers": {
|
|
"department": {
|
|
"type": "choice",
|
|
"confidence": 0.8332,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"choice": "billing",
|
|
"probabilities": {
|
|
"billing": 0.9554,
|
|
"technical": 0.0152,
|
|
"sales": 0.0149,
|
|
"other": 0.0144
|
|
}
|
|
},
|
|
"urgency": {
|
|
"type": "score",
|
|
"confidence": 0.1588,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"score": 1.4465,
|
|
"legend": {
|
|
"0": "not urgent",
|
|
"1": "soon",
|
|
"2": "critical deadline or blocking issue"
|
|
},
|
|
"probabilities": {
|
|
"0": 0.0956,
|
|
"1": 0.3624,
|
|
"2": 0.542
|
|
}
|
|
},
|
|
"refund": {
|
|
"type": "noul",
|
|
"confidence": 0.8592,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"noul": 0.8592
|
|
}
|
|
},
|
|
"usage": {
|
|
"input_tokens": 254,
|
|
"output_tokens": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"model": "laya-multilingual-mlx",
|
|
"result": {
|
|
"model": "laya-rl-agent",
|
|
"answers": {
|
|
"department": {
|
|
"type": "choice",
|
|
"confidence": 1.0,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"choice": "billing",
|
|
"probabilities": {
|
|
"billing": 1.0,
|
|
"technical": 0.0,
|
|
"sales": 0.0,
|
|
"other": 0.0
|
|
}
|
|
},
|
|
"urgency": {
|
|
"type": "score",
|
|
"confidence": 0.6391,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"score": 1.8694,
|
|
"legend": {
|
|
"0": "not urgent",
|
|
"1": "soon",
|
|
"2": "critical deadline or blocking issue"
|
|
},
|
|
"probabilities": {
|
|
"0": 0.0033,
|
|
"1": 0.1239,
|
|
"2": 0.8728
|
|
}
|
|
},
|
|
"refund": {
|
|
"type": "noul",
|
|
"confidence": 0.9728,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"noul": 0.9728
|
|
}
|
|
},
|
|
"usage": {
|
|
"input_tokens": 257,
|
|
"output_tokens": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"model": "laya-typed-decisions-mlx",
|
|
"result": {
|
|
"model": "laya-rl-agent",
|
|
"answers": {
|
|
"department": {
|
|
"type": "choice",
|
|
"confidence": 0.4725,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"choice": "billing",
|
|
"probabilities": {
|
|
"billing": 0.7952,
|
|
"technical": 0.0608,
|
|
"sales": 0.0714,
|
|
"other": 0.0725
|
|
}
|
|
},
|
|
"urgency": {
|
|
"type": "score",
|
|
"confidence": 0.2853,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"score": 1.5977,
|
|
"legend": {
|
|
"0": "not urgent",
|
|
"1": "soon",
|
|
"2": "critical deadline or blocking issue"
|
|
},
|
|
"probabilities": {
|
|
"0": 0.0435,
|
|
"1": 0.3154,
|
|
"2": 0.6411
|
|
}
|
|
},
|
|
"refund": {
|
|
"type": "noul",
|
|
"confidence": 0.657,
|
|
"action": {
|
|
"act_probability": 1.0
|
|
},
|
|
"noul": 0.657
|
|
}
|
|
},
|
|
"usage": {
|
|
"input_tokens": 254,
|
|
"output_tokens": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|