J.
36 / 100

Bundle relevance

Espresso machine

Is this a useful complement?

Relevant91%
Redundant6%
Unrelated3%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "basket": "Espresso machine",
  "candidate": "Compatible water filter",
  "compatibility_confirmed": true
};

const decision = await evaluateDecision({
  state,
  question: "Is this a useful complement?",
  options: ["Relevant","Redundant","Unrelated"],
});

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

Let the application relevant.