Skip to content

Glossary: RAG Beyond the Basics

Metadata filter

Also written: keep, allowed(), filter

A rule on chunk metadata (date, version, audience) that limits search to chunks that pass. It must run before ranking so each user gets their best chunks among those they may see.

Where the book teaches it

Related terms

Allow-listFront matter