AI Evaluation & Guardrails · Jev AI
Jev as a Judge: Calibrated Evals Without LLM Bottlenecks
Score RAG grounding, answer quality, and safety compliance in one parallel request. Jev replaces slow LLM-as-a-Judge prompts with typed rubrics and calibrated probabilities your CI and production guardrails can act on.
Why teams switch
Use a generative LLM to write answers—not to grade thousands of them slowly with uncalibrated 1–5 scores. Jev evaluates multiple atomic criteria (groundedness, policy safety, tone, escalation) in parallel and returns exact probabilities so only genuinely ambiguous rows need human or frontier-LLM review.
Run an evaluation in PlaygroundRAG grounding workflowHow Jev compares with LLMs
LLM-as-a-Judge vs Jev as a Judge
Built for repeatable evaluation pipelines
| Dimension | Traditional LLM-as-a-Judge | Jev as a Judge |
|---|---|---|
| Output format | Free-text critique or prompted JSON that can drift or break parsers | Strict typed choice, score, and noul values guaranteed by the model contract |
| Latency | Seconds per eval when generating chain-of-thought tokens sequentially | Hundreds of milliseconds — evaluates multiple rubric questions in parallel |
| Uncertainty signal | Self-reported 1–5 numbers are poorly calibrated and cluster around 4–5 | Native probability distribution and confidence score on every choice/score |
| Multi-metric evals | Either one tangled prompt (hard to debug) or multiple expensive serial LLM calls | Ask groundedness, tone, safety, and routing simultaneously in one request |
| Cost profile | Pays for both long input prompts and verbose judge reasoning output tokens | Zero output-token bloat; metered cleanly for high-volume eval pipelines |
Copy-paste evaluation recipe
Judge grounding, quality, and action in one call
Instead of prompting a chat model for a single vague score, decompose your evaluation into atomic Jev questions. Your CI or production gateway inspects each probability independently.
RAG hallucination gate
Pass retrieved chunks + draft answer in state; block replies when grounded noul falls below 0.85.
Continuous rubric scoring
Use ordered score criteria (e.g. Wrong → Partial → Accurate) to track regression trends across prompt deploys.
Policy & PII guardrails
Run prompt-injection, PII leakage, and tone checks alongside quality evals in the exact same round trip.
Confidence-gated escalation
Auto-approve high-confidence passes, auto-retry clear failures, and send only uncertain cases to humans.
{
"model": "typesafe/jev-1.14",
"state": {
"source_docs": "Refunds are eligible within 14 days of purchase if fewer than 10% of credits were used.",
"assistant_reply": "You can request a full refund anytime within 30 days, no matter how many credits you used."
},
"questions": {
"grounded": {
"type": "noul",
"instructions": "Is every factual claim in assistant_reply supported by source_docs?",
"criteria": {
"true": "All claims match source_docs without contradiction",
"false": "Contains unsupported or contradictory claims"
}
},
"helpfulness": {
"type": "score",
"instructions": "Rate how directly assistant_reply answers the refund policy question.",
"criteria": ["Off-topic", "Partially helpful", "Clear and direct"]
},
"action": {
"type": "choice",
"instructions": "Choose the right automated moderation action.",
"criteria": {
"ship": "Safe and accurate to send to the user",
"regenerate": "Hallucinated or policy-incorrect; retry with stricter context",
"human_review": "Ambiguous edge case requiring a reviewer"
}
}
}
}FAQ
Jev as a Judge questions
What does Jev as a Judge mean?+
Jev as a Judge uses TypeSafe’s Jev System One decision model instead of a generative chat LLM to score, classify, and verify AI outputs—such as RAG answers, support replies, tool calls, and moderation queues.
Why use Jev instead of GPT-4 or Claude as a judge?+
Traditional LLM-as-a-Judge pipelines suffer from high latency, verbose output token costs, JSON formatting failures, and poorly calibrated scores. Jev evaluates multiple atomic rubric questions in parallel and returns calibrated probabilities your eval harness can threshold reliably.
Can Jev judge multiple criteria in a single API call?+
Yes. Pass the conversation, retrieved context, and model response inside state, then define up to eight independent questions (mixing noul, score, and choice) in the same request.
How should I handle uncertain judge scores?+
Use confidence-gated evaluation: automatically pass or fail high-confidence judgments, and route only the narrow band of low-confidence cases to a frontier reasoning LLM or human annotator.
Can I test my evaluation rubric before writing code?+
Yes. Paste a sample input state and your rubric questions into the free online Jev AI Playground to inspect probabilities and tune criteria live before calling the API.