J.

Jev Alert deduplication Code Example

Tie repeated symptoms back to the same incident.

API latency high

Alert API latency high
Active Incident Database connection pool exhausted
Dependency API uses database

How does this alert relate to the active incident?

0% Likely related.
Likely related 91%
Separate incident 6%
Unclear 3%

Let the application likely related.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "alert": "API latency high",
  "active_incident": "Database connection pool exhausted",
  "dependency": "API uses database"
};

const decision = await evaluateDecision({
  state,
  question: "How does this alert relate to the active incident?",
  options: ["Likely related","Separate incident","Unclear"],
});

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

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