J.

Jev Catalog attribute conflict Code Example

Flag product descriptions that contradict structured data.

100% cotton shirt

Title 100% cotton shirt
Material polyester 80%, cotton 20%

How should this listing be handled?

0% Review material claim.
Review material claim 83%
Publish 12%
Request image 5%

Send it to review material claim.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "title": "100% cotton shirt",
  "material": "polyester 80%, cotton 20%"
};

const decision = await evaluateDecision({
  state,
  question: "How should this listing be handled?",
  options: ["Review material claim","Publish","Request image"],
});

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

This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.