Why it matters

Multi-query improves recall on ambiguous queries. Standard advanced technique.

Advertisement

The architecture

LLM: generate 3-5 query variations.

Retrieve each.

Union + dedupe.

Multi-query flowQuerysingle inputGenerate variants3-5 rephrasingsRetrieve + unioncombined resultsImproves recall; add reranking on union for precision
Multi-query.
Advertisement

How it works end to end

LLM prompt: rephrase this query 5 different ways.

Parallel retrieval.

Union + dedupe.

Rerank if needed.