/** * Rank results from multiple results, e.g. from vector search and text search. * Uses the "Reciprocal Rank Fusion" algorithm. * @param sortedResults The results arrays ordered by most important first. */ export declare function hybridRank(sortedResults: T[][], opts?: { /** * A constant used to change the bias of the top results in each list vs. * results in the middle of multiple lists. * A higher k means less of a bias toward the top few results. */ k: number; /** * The weights of each sortedResults array. * Used to prefer results from one sortedResults array over another. */ weights: number[]; /** * The cutoff score for a result to be returned. */ cutoffScore?: number; }): T[]; //# sourceMappingURL=hybridRank.d.ts.map