The ranking options for the file search.

See the file search tool documentation for more information.

interface RankingOptions {
    ranker?: "auto" | "default_2024_08_21";
    score_threshold?: number;
}

Properties

ranker?: "auto" | "default_2024_08_21"

The ranker to use for the file search. If not specified will use the auto ranker.

score_threshold?: number

The score threshold for the file search. All values must be a floating point number between 0 and 1.