← All examples
78 / 100
Jev Context before removal Code Example
Recognize quotation and criticism that need contextual review.
The article quotes a slur while explaining why it is harmful.
Text The article quotes a slur while explaining why it is harmful.
Report offensive language
What should happen before a moderation decision?
0%
Contextual review.
Send it to contextual review.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"text": "The article quotes a slur while explaining why it is harmful.",
"report": "offensive language"
};
const decision = await evaluateDecision({
state,
question: "What should happen before a moderation decision?",
options: ["Contextual review","Routine approval","Spam review"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Contextual review"
&& decision.probability >= 0.85) {
requestContextReview(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.