Resolve Follow-Up Questions
Follow-ups like “Does it apply to contractors?” need conversational context. A query rewriter can produce a standalone query while preserving the original wording. Keep a compact summary of topic, confirmed constraints, entities, and open questions rather than sending all history. If multiple interpretations remain plausible, ask for clarification.
Evaluate pronouns, topic switches, corrections, and ambiguous references separately.
Implementation example
Prior: Compare Basic and Pro plans.
Follow-up: What about annual billing?
Rewrite: How does annual billing work for Basic and Pro?💡 The rewrite resolves context without inventing an answer.
Key Takeaways
- Inspect the relevant pipeline stage instead of guessing.
- Preserve source provenance, versions, and access scope.
- Measure quality on representative queries.
Knowledge Check
What should a rewriter do if the referent remains ambiguous?