Summary
Summary judges which of two summaries of a source text is better: the candidate output or the reference. It mirrors autoevals Summary and is a Battle specialised for summarisation.
What the evaluator does
Jev reads the source (`input`), the two summaries, and picks the more accurate, complete and concise one, or a tie.
`input` is a source. `output` and `expected` are two summaries. Which is more accurate, complete and concise?
The question, verbatim
This is the question the API sends for the example below, generated from the same code path the playground and API use. Jev sees the request fields as state and returns a probability for each outcome. Nothing is generated, so there is nothing to parse.
`input` is a source text. `output` and `expected` are two summaries of it. Which summary is more accurate, complete, and concise?
- output`output` is the better summary
- expected`expected` is the better summary
- tieEqually good
Reach for it when
- Comparing summarisation prompts or models against a reference summary.
- Checking that a shorter summary did not lose the important point.
Not the right tool when
- No reference summary exists (use faithfulness against the source as context plus conciseness).
- Summaries of different sources.
Watch out for
- Longer summaries are not better; the rubric weighs concision, but keep candidates comparable in length when you can.
What to send
score mapped from the chosen option, label = option key, confidence, a probability per option, passed by option.
{
"evaluators": [
"summary"
],
"input": "Jev ingests the state once and evaluates every question against it in parallel...",
"output": "Jev reads the state once and answers all questions in parallel, so batching is cheaper and faster.",
"expected": "Jev processes questions in parallel over a single state read."
}Close call; the candidate adds the practical consequence, so it edges ahead.
Aggregate with
One result per item is a fact; a dataset of them is a metric. These are the aggregations that fit this evaluator's output shape.
- Can Summary run without a reference?
- No, it is a comparison. For reference-free summary quality use faithfulness (grounding in the source) with conciseness.