MultiQuery Retriever
Generate several query variations with a chat model and merge their results for broader retrieval. Requires a base retriever and a model.
Written By Philippe
Last updated 2 days ago
MultiQuery Retriever
π§ͺ Labs β Experimental, may change or break without notice
What It Does
Uses a chat model to rewrite your query into several variations, retrieves documents for each, and merges the results β improving recall when a single phrasing would miss relevant documents.
Connections
Output: a Retriever connection.
Compatibility
Notes
- Both a base retriever and a chat model must be connected for this node to run.
- More retrieval calls mean higher cost per run than a plain retriever.