| 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. |
primary_results_weight | float | Default: 0.5The weight for the primary source's scores. Defaults to 0.5. |
secondary_results_weight | float | Default: 0.5 |
fetch_top_k | int | Default: 4 |
Ranks documents using a weighted sum of scores from two sources.
The weight for the secondary source's scores. Defaults to 0.5.
The number of documents to fetch after merging the results. Defaults to 4.