← All examples
53 / 100
Jev Suspicious bank detail change Code Example
Escalate a vendor change request for independent verification.
Urgent: pay this new account today.
Message Urgent: pay this new account today.
Sender new contact
Verified Callback No
How should this request proceed?
0%
Verify independently.
Let the application verify independently.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"message": "Urgent: pay this new account today.",
"sender": "new contact",
"verified_callback": false
};
const decision = await evaluateDecision({
state,
question: "How should this request proceed?",
options: ["Verify independently","Routine update","Request invoice"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Verify independently"
&& decision.probability >= 0.85) {
freezeBankDetailChange(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.