31 / 100
Review usefulness
Is it good for long-distance running?
How useful is this review for the query?
Highly useful78%
Somewhat useful15%
Not useful7%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"query": "Is it good for long-distance running?",
"review": "Comfortable after 20 km; heel held firm."
};
const decision = await evaluateDecision({
state,
question: "How useful is this review for the query?",
options: ["Highly useful","Somewhat useful","Not useful"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Highly useful"
&& decision.probability >= 0.85) {
rankReview(decision);
} else {
queueForReview(decision);
}Let the application highly useful.