| Name | Type | Description |
|---|---|---|
primary_search_results* | Sequence[RowMapping] | A list of (document, distance) tuples from the primary search. |
secondary_search_results* | Sequence[RowMapping] | A list of (document, distance) tuples from the secondary search. |
rrf_k | float | Default: 60The RRF parameter k. Defaults to 60. |
fetch_top_k | int | Default: 4 |
Ranks documents using Reciprocal Rank Fusion (RRF) of scores from two sources.
The number of documents to fetch after merging the results. Defaults to 4.