← All examples
67 / 100
Jev Data sharing review Code Example
Catch sensitive context before a document leaves the organization.
public forum
Destination public forum
Text Production database password and customer email export included.
What review is needed before sharing?
0%
Redact and review.
Send it to redact and review.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"destination": "public forum",
"text": "Production database password and customer email export included."
};
const decision = await evaluateDecision({
state,
question: "What review is needed before sharing?",
options: ["Redact and review","Ready to share","Confirm audience"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Redact and review"
&& decision.probability >= 0.85) {
holdExternalShare(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.