add voyage rerank-1

This commit is contained in:
Nate Sesti 2024-06-24 09:34:51 -07:00
parent 78488da7f2
commit 10b2001edf

View file

@ -21,7 +21,7 @@ export class VoyageReranker implements Reranker {
body: JSON.stringify({
query,
documents: chunks.map((chunk) => chunk.content),
model: this.params.model ?? "rerank-lite-1",
model: this.params.model ?? "rerank-1",
}),
});
const data: any = await resp.json();