Skip to content

Glossary: RAG Basics

Demo mode

Also written: RAG_DEMO

A free mode, turned on by `RAG_DEMO=1` or a missing API key, where every model call is replaced by a simple stand-in. All the code still runs, but demo answers start with `[demo]` and are poor.

Where the book teaches it

Related terms

ANTHROPIC_API_KEY