← All examples
81 / 100
Jev Personal information exposure Code Example
Prioritize reports of private information being shared.
Here is their home address and personal phone number.
Post Here is their home address and personal phone number.
Consent not indicated
Which queue should receive this report?
0%
Privacy review.
Send it to privacy review.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"post": "Here is their home address and personal phone number.",
"consent": "not indicated"
};
const decision = await evaluateDecision({
state,
question: "Which queue should receive this report?",
options: ["Privacy review","Ordinary dispute","Spam"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Privacy review"
&& decision.probability >= 0.85) {
prioritizePrivacyReview(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.