Polaris ML/AI Training
Bootcamps · Palantir Foundry

Jev × Foundry

Calibrated AI Decisions on the Ontology

Jev (TypeSafe AI, Sept 2026) is a System One model: it returns typed answers with calibrated probabilities instead of generated text. Learn how it works, how to design questions it answers well, how to earn confidence thresholds on your own data, and how to wire it into Palantir Foundry — Ontology in, Action out, with a Workshop review queue — with a technician-dispatch capstone, an evaluation harness for every version and wording change, a plan for when Jev doesn't answer, and a live comparison with an LLM in AIP. Written against the official TypeSafe docs (rechecked November 3, 2026, for jev-1.14.0); assumes the Palantir and TypeScript for Foundry bootcamps.

Lessons
10
Time
About 12 hours
Level
Intermediate
Homework
10 assignments
Unlock all 10 lessonsSign inLessons need a premium membership.

What you'll use

JevTypeSafe AISystem OneCalibrationPalantirFoundryOntologyAIPHuman in the LoopDispatchEvaluationReliabilityTypeScriptPython

Curriculum

  • 1

    What Is Jev? Decisions, Not Text

    Meet Jev, TypeSafe AI's System One model: state and typed questions in, typed answers with calibrated probabilities out — no generated text. Learn the Choice / Score / Noul primitives, what calibration does and doesn't promise, Jev's documented weak spots, and why it fits Palantir Foundry's Ontology — with the two caveats that shape the rest of the series.

  • 2

    Your First Jev Call: State, Questions, Answers

    Make your first Jev request: one maintenance work order as state, plus a Choice, a Score, and a Noul — sent with curl, the Python SDK (typesafe-sdk), and the TypeScript SDK (@typesafe-ai/sdk). Read every response field — choice, probabilities, confidence, score, legend, noul — and learn the error codes, batching, and why you pin jev-1.14.0.

  • 3

    Designing Questions Jev Answers Well

    Nine rules for writing questions Jev answers well, drawn from TypeSafe's official guidance and applied to maintenance work orders: one snap judgment per question, choosing Choice vs Score vs Noul, contrastive criteria, keeping math and dates in code, structured instructions, decomposition with weights, speculative fan-out, why answers don't have to agree, and the language and adversarial-text risks.

  • 4

    Confidence, Calibration & Human Review

    Turn Jev's probabilities into safe decisions: three confidence bands (act / confirm / human), thresholds that scale with risk, and gating in code. Then earn those thresholds — backtest on Foundry history with a reliability table, ECE, and Brier score, pick a gate from target accuracy vs coverage, and design a review queue whose overrides become labels.

  • 5

    Wiring Jev into Foundry: Ontology In, Action Out

    Connect Jev to Palantir Foundry end to end: a new WorkOrder triggers Automate, a function-backed Action runs a TypeScript v2 Function that calls Jev through a Data Connection source, and gated edits come back where every status has an owner — emergencies page on-call, AUTO sets the trade, REVIEW goes to a coordinator, failures land in manual triage with the reason recorded. Plus the OSDK path for backfills and re-triage, governance and cost answers, and common pitfalls.

  • 6

    Capstone: Dispatch with Jev + Constraints

    Answer the big question: can Jev decide which technician to dispatch — or which flight to book? Yes, as the judge, not the dispatcher: triage first, hard-filter candidates on the final trade in code, ask one fit Noul per candidate in a single request, score and assign in code (holding only the slots you take, with the Assign Action enforcing capacity), keep emergencies with on-call, and prove it in shadow mode against a baseline.

  • 7

    Evaluating Jev: A Harness on Saved Answers

    Build the evaluation harness you rerun whenever anything changes: save every Jev response once, join it to audited labels, and measure calibration with equal-mass bins, multiclass Brier and a confidence interval on ECE. Read slices before averages, pick gates by cost and promise the lower bound, give Score and Noul their own checks, and run a paired regression check per slice before switching versions. Runs for real on 2,400 synthetic saved answers in Jev's response shape.

  • 8

    Cost, Latency & Failure: Keeping Jev Useful When Things Go Wrong

    Keep triage working on the days Jev doesn't answer: what a call really costs, what the SDK's retries already do (measured with the real SDK against a local fake server), timeouts as a budget, pacing under rate limits, a circuit breaker, a fallback that can't fail, and a sweep for when Jev comes back. No Jev key needed, and nothing here measures Jev.

  • 9

    The Human Review Queue in Workshop

    Build a review inbox in Workshop, live in the Training Sandbox: Jev hidden until the reviewer asks, Actions with a PENDING rule, a test of what happens when two tabs review one item, and a way to feed labels back to Lesson 7 without skewing it.

  • 10

    Jev vs. an LLM on the Same Questions

    Put the same triage questions to an LLM in AIP Logic and see what you really get: Strict output that guarantees types but not options, good accuracy, a stated confidence in a narrow band, answers that change between runs, and the latency of 60 real runs. The Jev side comes from its docs, because there's no key, so this lesson names no winner.

Jev × Foundry: Calibrated AI Decisions on the Ontology | ML/AI Bootcamp | Polaris ML/AI Training