J.

Jev Duplicate feedback Code Example

Merge repeated ideas while preserving distinct requests.

Schedule a CSV email each Monday.

Incoming Schedule a CSV email each Monday.
Existing Email scheduled spreadsheet exports.

Are these the same feature request?

0% Merge suggestions.
Merge suggestions 88%
Keep separate 8%
Review 4%

Let the application merge suggestions.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "incoming": "Schedule a CSV email each Monday.",
  "existing": "Email scheduled spreadsheet exports."
};

const decision = await evaluateDecision({
  state,
  question: "Are these the same feature request?",
  options: ["Merge suggestions","Keep separate","Review"],
});

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

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