Tag
rag
Published articles tagged rag.
Retrieval-augmented generation explained
A language model only knows its training data. Retrieval-augmented generation looks up relevant passages in your own documents and hands them to the model with the question. This article explains the indexing and query steps, where RAG systems go wrong, and how RAG compares with fine-tuning and long context windows.