J.

Jev Content freshness Code Example

Find guides that need an update from explicit version context.

Setup guide for v2

Article Setup guide for v2
Current Version v5
Deprecated Steps Yes

How should this guide be maintained?

0% Update priority.
Update priority 78%
Still current 15%
Archive review 7%

Let the application update priority.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "article": "Setup guide for v2",
  "current_version": "v5",
  "deprecated_steps": true
};

const decision = await evaluateDecision({
  state,
  question: "How should this guide be maintained?",
  options: ["Update priority","Still current","Archive review"],
});

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

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