Skip to content

Glossary: RAG Beyond the Basics

Query transformation

Also written: query transformations

Using a model to turn the user's words into text closer to the documents' words before searching, for example by rewriting, multi-query or HyDE. It costs an extra model call per question.

Where the book teaches it

Related terms

RewritingMulti-queryHyDEAdaptive transformation