J.

Jev Missing information Code Example

Ask for the one detail needed to move a case forward.

The upload is broken.

Message The upload is broken.
Attachment none
Environment unknown

What should support ask for next?

0% Error message.
Error message 83%
Invoice number 12%
Account owner 5%

Let the application error message.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "message": "The upload is broken.",
  "attachment": "none",
  "environment": "unknown"
};

const decision = await evaluateDecision({
  state,
  question: "What should support ask for next?",
  options: ["Error message","Invoice number","Account owner"],
});

// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Error message"
    && decision.probability >= 0.85) {
  askForDetail(decision);
} else {
  queueForReview(decision);
}

This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.