← All examples
79 / 100
Jev Marketplace listing review Code Example
Flag descriptions that imply a prohibited item.
Verified account credentials, instant delivery.
Listing Verified account credentials, instant delivery.
Policy No account credential sales.
Which review path fits?
0%
Prohibited goods review.
Send it to prohibited goods review.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"listing": "Verified account credentials, instant delivery.",
"policy": "No account credential sales."
};
const decision = await evaluateDecision({
state,
question: "Which review path fits?",
options: ["Prohibited goods review","Standard listing","Need details"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Prohibited goods review"
&& decision.probability >= 0.85) {
holdListing(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.