AI From Scratch/Phase 19/Lesson 67/~90 minutes

Query Rewriting: HyDE, Multi-Query, and Decomposition

BuildPythonNo prerequisites

The query the user types is not the query your retriever wants. Rewriting bridges the gap before retrieval, so the index sees something closer to what the answer looks like.

Loading lesson page...