J.

Jev Outreach relevance Code Example

Check a draft against the prospect’s stated problem.

Reducing manual reconciliation.

Problem Reducing manual reconciliation.
Draft Our social media analytics are industry leading.

Is this outreach relevant?

0% Rewrite.
Rewrite 94%
Ready 4%
Need discovery 2%

Let the application rewrite.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "problem": "Reducing manual reconciliation.",
  "draft": "Our social media analytics are industry leading."
};

const decision = await evaluateDecision({
  state,
  question: "Is this outreach relevant?",
  options: ["Rewrite","Ready","Need discovery"],
});

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

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