Ranking options for search.

interface RankingOptions {
    ranker?: "auto" | "none" | "default-2024-11-15";
    score_threshold?: number;
}

Properties

ranker?: "auto" | "none" | "default-2024-11-15"

Enable re-ranking; set to none to disable, which can help reduce latency.

score_threshold?: number