add voyage rerank-1
This commit is contained in:
parent
78488da7f2
commit
10b2001edf
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue