VoyageRerankRequest
Namespace: Vercel.AI.Voyage
public sealed class VoyageRerankRequestVoyage rerank request.
Inheritance: object
Properties
Section titled “Properties”Headers
Section titled “Headers”public IDictionary<string, string>? Headers { get; set; }Headers merged over the provider headers.
Value: IDictionary<string, string>
ObjectDocuments
Section titled “ObjectDocuments”public IReadOnlyList<JsonObject>? ObjectDocuments { get; set; }JSON documents. They are stringified before they are sent.
Value: IReadOnlyList<JsonObject>
public string Query { get; set; }Query text.
Value: string
TextDocuments
Section titled “TextDocuments”public IReadOnlyList<string>? TextDocuments { get; set; }Plain-text documents.
Value: IReadOnlyList<string>
public int? TopK { get; set; }top_k, when set.
Value: int?
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product