76 / 100
Newsletter relevance ranking
TypeScript, databases
How relevant is this link?
High88%
Medium8%
Low4%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"interests": "TypeScript, databases",
"candidate": "Understanding PostgreSQL query plans"
};
const decision = await evaluateDecision({
state,
question: "How relevant is this link?",
options: ["High","Medium","Low"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "High"
&& decision.probability >= 0.85) {
rankNewsletterLink(decision);
} else {
queueForReview(decision);
}Let the application high.