What RAG means
RAG, retrieval augmented generation, is the technique by which a language model looks up documents before writing an answer, instead of relying only on what it memorised during training. The system retrieves a small set of relevant texts, puts them in front of the model and asks it to answer from those. It is why a page can be cited the day after it is published.