the.ai

Retrieval / Generation

verified

Retrieval-Augmented Generation

A model's weights are a lossy compression of its training data, fixed when training stopped and impossible to update or inspect. RAG puts the documents back: fetch the relevant ones when the question is asked and place them in the context. The knowledge becomes something you can change, audit and point at, without touching the model at all.

Viz primitive · budget-splitpassage-tokens = 3000

passage-tokens holds 75% of the budget; rest holds the remaining 25%.

Context spent on retrieved passages against everything else the prompt has to hold, in tokens. Drag the retrieved volume to watch the passages crowd out the window.

3000

Reviewed by opendroid · 2026-08-04

  • arXiv:2005.11401 — Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • arXiv:2007.01282 — Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering