Skip to main content
Built-in evaluators score eval suite tasks natively on the gateway without writing or uploading Python grader code. Each evaluator has an explicit version (v1), a calibrated pass/fail threshold, and published validation metrics in English (en) and Ukrainian (uk).
Built-in evaluators are available through the REST API (grader.type: "builtin" and GET /api/v1/llm/evals/evaluators) and the console under Evals → New evaluation. Typed SDK and CLI helpers follow automatically once your cluster publishes the updated OpenAPI specification.

Before you start

  • Scopes. Listing the evaluator catalog requires read:evals. Creating suites and starting runs requires write:evals.
  • Judge model. Leave judge_model unset (auto) on your eval run to use your organization’s active Decisions API model, falling back to structured-output Responses judging when no decision model is active.
  • Supported task types. Built-in evaluators work on standard text, QA, classification, summarization, and agent tasks. Embedding and red-team tasks keep their dedicated native scoring paths.

Evaluator catalog

Fetch the active catalog and validation metadata with GET /api/v1/llm/evals/evaluators:
Bash

Create a suite with built-in evaluators

Set grader.type to "builtin" and list between 1 and 6 unique evaluators in grader.evaluators. Omit threshold to use the catalog’s calibrated default, or pass a value greater than 0 and at most 1 ((0, 1]) to override the pass cutoff for that evaluator.
Bash
You can also create and edit built-in evaluator tasks in the console:
  1. Open Evals → New evaluation.
  2. Upload or select a dataset and configure the prompt template. Reference answers (target_template) are optional for built-in evaluators.
  3. On the Grader tab, set Grading method to Built-in evaluators.
  4. Select one or more evaluators, optionally override any pass threshold, and click Create evaluation.

Scoring backend and judge resolution

Built-in evaluators run directly in the eval worker and never allocate a Python sandbox.
  • Decisions API default. When judge_model is unset (auto), the gateway selects your organization’s active Decisions API model (for example typesafe:jev-1.14 or openai:gpt-6-luna-decisions) and batches all selected evaluators into a single Decisions call using bounded noul probability questions.
  • Responses structured-output fallback. When no Decisions API model is active in your organization or cluster, or when an automatic Decisions judge refuses a question, the gateway automatically falls back to structured-output Responses judging using your cluster’s active structured-output platform models (such as google:gemini-4-argon, openai:gpt-6-luna, meetkai:gemini-3.7-flash, meetkai:deepseek-v4.1-flash, meetkai:glm-5.3, or meetkai:kimi-k3).
  • Explicit judge pinning. Pass judge_model when starting a run to pin a specific Decisions or Responses model. Pinned judges never silently fall back across providers.
  • Safe short-circuits. If the candidate response already ran the inline groundedness guardrail and the dataset row does not supply overriding context, groundedness reuses the recorded guardrail score. If an input-stage guardrail blocked the request before any model generation or tool call executed, jailbreak short-circuits to 0.0 (pass). Output-stage guardrail blocks or runs with executed tool calls are still scored by the judge.

Context, traces, and emitted metrics

Groundedness context

groundedness evaluates claims against retrieved sources captured from the candidate response trace (file_search, web_search, scrape, and web_find tool outputs) or against dataset columns named retrieved_sources, retrieved_context, contexts, context, sources, documents, or passages. If neither trace sources nor dataset context are present on a sample, the sample fails explicitly with a missing_context grader error instead of defaulting to pass.

Tool trace capture and shared-suite redaction

For built-in evaluator tasks, the worker captures compact tool call names, secret-redacted arguments and tool outputs, retrieved sources, and guardrail verdicts in candidate_trace. Secret patterns are redacted before judging or storage. When a suite is shared read-only with another organization, tool_calls[].arguments, tool_calls[].output, retrieved_sources, and per-evaluator judge rationale strings are stripped while numeric scores remain visible.

Emitted scores

For every evaluator in grader.evaluators, each scored sample records:
  • <evaluator_id>: continuous score in [0.0, 1.0].
  • <evaluator_id>_pass_rate: 1.0 if the sample passes the evaluator’s threshold (score >= threshold for quality and agent evaluators; score < threshold for toxicity, bias, and jailbreak), otherwise 0.0.
  • pass_rate: emitted when a task configures more than one built-in evaluator; equals 1.0 only when every configured evaluator passes on that sample.
When a task uses a single built-in evaluator, metric_id defaults to that evaluator’s ID. When a task combines multiple built-in evaluators, metric_id defaults to pass_rate. If you set metric_id explicitly, it must match one of the emitted metric keys.

English and Ukrainian validation benchmark

All six v1 evaluators were calibrated and validated on a balanced 240-case bilingual corpus (2026-12-01-v1): 20 cases per evaluator per language (10 pass, 10 fail, including hard negatives such as quoted-speech safe discussions, neutral demographic answers, ignored indirect tool prompt injections, subtle unsupported numeric extrapolations, and wrong-argument tool calls). Raw per-case scores and sweep outputs are published in benchmarks/builtin-evaluators-en-uk-results.json.

Decisions API default (openai:gpt-6-luna-decisions)

Total tokens across 240 cases: 123,550 input tokens, 0 output tokens, 0 refusals, 240 / 240 correct.

Responses structured-output fallback (openai:gpt-6-luna, reasoning.effort: "low")

Total tokens across 240 cases: 127,069 input tokens, 18,836 output tokens, 0 refusals:
  • At the shipped default 0.50 threshold: 235 / 240 correct (97.9%). All 5 misses are borderline 0.50 scores on higher-is-better fail cases (en-tc-fail-02, en-tc-fail-10, uk-tc-fail-02, uk-tc-fail-10, and uk-tool-fail-09).
  • At per-evaluator sweep thresholds (offline calibration reference, not applied in production): 238 / 240 correct (99.2%), shown in the table below.
Under the per-evaluator sweep thresholds, both misses occurred on borderline 0.50 scores in Ukrainian: one false negative on task_completion (uk-tc-pass-06, booking_confirmed) and one false positive on tool_call_accuracy (uk-tool-fail-09, hard_fail_wrong_currency_arg). The Decisions API default classified all 240 cases accurately at the shipped 0.50 threshold across both languages at roughly 5–6x lower latency with zero output tokens.