Skip to content

Glossary: AI System Design

Stuffed context

Also written: stuffing

Putting whole documents in the prompt, as the support assistant does with the help center. With caching it beats RAG below about 27,000 tokens.

Where the book teaches it

Related terms

RAG (retrieval-augmented generation)Prompt cache