Better queries
Users don't type search queries. They type "and what about contractors?" in the middle of a chat, or "why is my bill higher and can I get the old plan back?". Searching those words as they are finds the wrong things. A cheap model call that rewrites, expands or splits the question before searching often fixes more answers than a better embedding model would.
In this lesson you'll learn to
- Rewrite follow-up and messy questions into standalone search queries using the conversation.
- Use multi-query retrieval, searching several phrasings and fusing the results.
- Explain HyDE, which searches with a hypothetical answer instead of the question, and when it helps.
- Decompose multi-part and multi-hop questions into sub-questions and route each to the right source.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.