J.

Jev Supplier delay response Code Example

Pick a practical next step from supplier update text.

Shipment delayed 12 days.

Update Shipment delayed 12 days.
Stock Cover Days 4
Alternate Supplier Yes

What response should be reviewed?

0% Source alternative.
Source alternative 86%
Wait 10%
Request tracking 4%

Let the application source alternative.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "update": "Shipment delayed 12 days.",
  "stock_cover_days": 4,
  "alternate_supplier": true
};

const decision = await evaluateDecision({
  state,
  question: "What response should be reviewed?",
  options: ["Source alternative","Wait","Request tracking"],
});

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

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