Skip to content

Glossary: RAG Basics

Long context

Also written: long prompt

Pasting all your documents into every prompt instead of retrieving. It suits small, stable collections but its cost grows with the whole collection.

Where the book teaches it

Related terms

RAGPrompt caching