J.
71 / 100

Search intent classification

postgres vs sqlite for a local app

What is the reader trying to do?

Compare options91%
Find a tutorial6%
Navigate to a site3%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "query": "postgres vs sqlite for a local app"
};

const decision = await evaluateDecision({
  state,
  question: "What is the reader trying to do?",
  options: ["Compare options","Find a tutorial","Navigate to a site"],
});

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

Let the application compare options.