01 / 100
Support ticket routing
A customer says they were charged twice after upgrading to Pro.
Which team should handle this ticket?
Billing91%
Technical6%
Account3%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"message": "Charged twice after upgrading.",
"invoice": "INV-204",
"plan": "Pro"
};
const decision = await evaluateDecision({
state,
question: "Which team should handle this ticket?",
options: ["Billing","Technical","Account"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Billing"
&& decision.probability >= 0.85) {
routeToTeam(decision);
} else {
queueForReview(decision);
}Route this ticket to Billing.