RankingOptions interface
model interface RankingOptions
Properties
| hybrid_search | Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled. |
| ranker | The ranker to use for the file search. |
| score_threshold | The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results. |
Property Details
hybrid_search
Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.
hybrid_search?: HybridSearchOptions
Property Value
ranker
score_threshold
The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.
score_threshold?: number
Property Value
number