Skip to content

Glossary: RAG Basics

Query rewriting

Also written: rewrite

Before retrieving, having the model turn a follow-up like "How long does it take to get there?" into a question that stands alone. Search can't use the raw follow-up.

Where the book teaches it

Related terms

Standalone question