J.
30 / 100

Return reason classification

Ordered medium but received a small.

What caused the return?

Wrong item86%
Fit issue10%
Changed mind4%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "comment": "Ordered medium but received a small.",
  "item_condition": "unopened"
};

const decision = await evaluateDecision({
  state,
  question: "What caused the return?",
  options: ["Wrong item","Fit issue","Changed mind"],
});

// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Wrong item"
    && decision.probability >= 0.85) {
  classifyReturn(decision);
} else {
  queueForReview(decision);
}

Let the application wrong item.