Update reranker.ts

This commit is contained in:
Nicolas 2025-01-24 18:35:36 -03:00
parent 2c391b0105
commit 10133adcc6

View File

@ -171,7 +171,7 @@ export type RerankerOptions = {
export async function rerankLinksWithLLM(options: RerankerOptions): Promise<RerankerResult> {
const { links, searchQuery, urlTraces } = options;
const chunkSize = 20;
const chunkSize = 100;
const chunks: MapDocument[][] = [];
const TIMEOUT_MS = 20000;
const MAX_RETRIES = 2;