J.
70 / 100

Editorial desk routing

How database indexes affect API latency.

Which desk should review this pitch?

Engineering72%
Company news20%
Design8%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "pitch": "How database indexes affect API latency.",
  "desks": "Engineering, company news, design"
};

const decision = await evaluateDecision({
  state,
  question: "Which desk should review this pitch?",
  options: ["Engineering","Company news","Design"],
});

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

Let the application engineering.