← All examples
92 / 100
Jev Document sensitivity Code Example
Suggest an internal handling class before a document is shared.
Unannounced acquisition plan with employee details.
Summary Unannounced acquisition plan with employee details.
Current Label none
What handling class should be reviewed?
0%
Restricted.
Let the application restricted.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"summary": "Unannounced acquisition plan with employee details.",
"current_label": "none"
};
const decision = await evaluateDecision({
state,
question: "What handling class should be reviewed?",
options: ["Restricted","Internal","Public"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Restricted"
&& decision.probability >= 0.85) {
suggestHandlingClass(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.