J.

Jev Model routing Code Example

Reserve deeper reasoning for the tasks that need it.

Compare three conflicting migration plans and their failure modes.

Task Compare three conflicting migration plans and their failure modes.
Context Pages 14

Which processing path fits this task?

0% Deep reasoning.
Deep reasoning 78%
Fast response 15%
Deterministic code 7%

Let the application deep reasoning.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "task": "Compare three conflicting migration plans and their failure modes.",
  "context_pages": 14
};

const decision = await evaluateDecision({
  state,
  question: "Which processing path fits this task?",
  options: ["Deep reasoning","Fast response","Deterministic code"],
});

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

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