Skip to course content
Free RAG fundamentals course

Introduction to RAG and Knowledge Assistants

Module 04 Activity

Scenario

Some of your fifteen questions will not find the passage that answers them. Rewriting is the lever, and it has to be specified rather than assumed.

What you produce

A query-rewriting specification: which of the three problems each failing question has, the rewrite for it, and the case that would show the rewrite made things worse.

Steps

  1. Take the questions you predicted would fail. For each, diagnose which of the three problems it has: vocabulary mismatch, an over-broad corpus, or two questions in one.
  2. Write a rewrite matched to the diagnosis. Do not expand by default.
  3. For the compound ones, write out both halves separately and say how the answer would combine them and attribute each part.
  4. Take one question containing an exact condition and separate it into the part that is about meaning and the part that is a filter.
  5. Construct one rewrite that would make retrieval worse, and say which of the two mechanisms from Unit 04 it demonstrates.
  6. Specify what should happen when a rewritten question finds nothing.

Evidence to hand in

Review checklist