Skip to main content

Retrieval

Different RAG setups, compared on a Wikipedia sample.

Modified passages from Wikipedia articles, under CC BY-SA 3.0: https://creativecommons.org/licenses/by-sa/3.0/

How it’s measured, and its limitsIts limits

Retrieval is scored against the source pages the dataset records for each question, so its ground truth comes from the data. Answers are scored by a language model acting as judge.

Gated
A change that regresses the score cannot merge.
Advisory
A change that regresses the score can still merge.

The judged scores are advisory: they cover a small hand-written set, where the confidence interval is wide enough that a gate would fire on noise.

Confidence intervals come from a paired bootstrap clustered by source page, because several questions can share one source page.

Each score shows n, the number of questions behind it, and a CI, the range the true score likely sits in.

The demo

The index holds a capped subset of English Wikipedia, frozen at one past dump. Anything newer, this week’s news included, is outside it.

One question is an anecdote. The results above measure the service over its test set.