Skip to content

Glossary: AI System Design

RAG (retrieval-augmented generation)

Also written: RAG, retrieval

Searching an index and putting only the best-matching chunks in the prompt, used when knowledge is too big, changes often or needs permissions.

Where the book teaches it

Related terms

Stuffed contextHybrid searchACL (access list)