The PracticeThe PracticeThe PracticeOperating infrastructure

The Practice · Glossary

Retrieval-augmented generation (RAG)

AI term; checked November 9, 2026

Retrieval-augmented generation is a method that searches a set of documents for passages relevant to a question and gives them to the model with the question, so the answer draws on them. It is how most "chat with your files" features work.

It is only as good as what it retrieves. If the right document is missing, or the search misses the clause, the answer can still be wrong. See Institutional Memory starter.

Educational, not professional advice. Nothing on this page is affiliated with or endorsed by its publisher.