EnsembleRetriever()| Name | Type | Description |
|---|---|---|
retrievers* | unknown | A list of retrievers to ensemble. |
weights* | unknown | A list of weights corresponding to the retrievers. Defaults to equal weighting for all retrievers. |
c* | unknown | A constant added to the rank, controlling the balance between the importance of high-ranked items and the consideration given to lower-ranked items. |
id_key* | unknown | The key in the document's metadata used to determine unique documents. If not specified, page_content is used. |
Perform weighted Reciprocal Rank Fusion on multiple rank lists.
You can find more details about RRF here: https://plg.uwaterloo.ca/~gvcormac/cormacksigir09-rrf.pdf.
Retriever that ensembles the multiple retrievers.
It uses a rank fusion.