J.

Jev Reopen a resolved case Code Example

Distinguish a polite thank-you from an unresolved issue.

Thanks, but the same error is back today.

Message Thanks, but the same error is back today.
Case Status resolved

Should this case reopen?

0% Reopen.
Reopen 91%
Keep resolved 6%
Clarify 3%

Let the application reopen.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "message": "Thanks, but the same error is back today.",
  "case_status": "resolved"
};

const decision = await evaluateDecision({
  state,
  question: "Should this case reopen?",
  options: ["Reopen","Keep resolved","Clarify"],
});

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

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