02 / 100
Human handoff
The customer has tried three times and asks to speak to someone.
Should a person take over?
Hand off88%
Continue8%
Ask a question4%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"message": "This is the third time. Please let me talk to someone.",
"failed_attempts": 3
};
const decision = await evaluateDecision({
state,
question: "Should a person take over?",
options: ["Hand off","Continue","Ask a question"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Hand off"
&& decision.probability >= 0.85) {
handoffConversation(decision);
} else {
queueForReview(decision);
}Hand the conversation to a human.