Skip to content

Glossary: RAG Basics

Environment variable

Also written: environment variables

A named setting stored outside your code, in your terminal session. It keeps secrets and options such as `ANTHROPIC_API_KEY`, `RAG_MODEL` and `RAG_DEMO` out of source files.

Where the book teaches it

Related terms

ANTHROPIC_API_KEYDemo mode