Request a review

Techniques

Retrieval-augmented generation

Also called

  • RAG
  • retrieval augmented generation
  • retrieval augmented

In one sentence

A technique that feeds an AI your own documents at question time, so its answers are grounded in real sources instead of memory.

Updated In 3 reviews on Nowrap

Retrieval-augmented generation (RAG) is how an AI answers a question using documents it was never trained on. Instead of relying on what the model memorised, the system first retrieves the most relevant passages from a source you supply — your case files, a research library, a knowledge base — and hands them to the model alongside your question. The model then answers from that text.

RAG is the difference between an AI that confidently guesses and one that can show its work. It is why a tool can cite a paragraph from your contract rather than a generic web summary, and it is the main practical antidote to hallucination.

Why it matters at your desk. For a lawyer, RAG is what lets Harvey answer a question about a specific matter rather than the law in the abstract. For a researcher, it is why Consensus can point you to the actual papers behind a claim, and why Perplexity shows links instead of just prose.

Use RAG when the answer must come from a known, trusted source. It is not magic: if the retrieval step pulls the wrong passage, the answer will be wrong but well-dressed — so the quality of what you feed it still decides the quality of what you get back.

Related reviews

Tools that use it

Every review
PaidDesk review

Harvey

Serious legal AI, built for big law and priced like it.

Best for
Large firms and enterprise legal teams
Skip it if
You're a solo lawyer or small practice

Verified Privacy policy on file

Read the review: Harvey
Free tierDesk review

Perplexity

Fast answers, citations attached. The search replacement people keep coming back to.

Best for
Quick, sourced web research
Skip it if
You won't click through to sources

Verified Privacy policy on file

Read the review: Perplexity
Free tierDesk review

Consensus

Asks the literature instead of the whole internet. Citations you can click.

Best for
Researchers who need real citations
Skip it if
Your question isn't in the papers

Verified Privacy policy on file

Read the review: Consensus