Skip to content

VoyageRerankRequest

Namespace: Vercel.AI.Voyage

public sealed class VoyageRerankRequest

Voyage rerank request.

Inheritance: object

View source

public IDictionary<string, string>? Headers { get; set; }

Headers merged over the provider headers.

Value: IDictionary<string, string>

View source

public IReadOnlyList<JsonObject>? ObjectDocuments { get; set; }

JSON documents. They are stringified before they are sent.

Value: IReadOnlyList<JsonObject>

View source

public string Query { get; set; }

Query text.

Value: string

View source

public IReadOnlyList<string>? TextDocuments { get; set; }

Plain-text documents.

Value: IReadOnlyList<string>

View source

public int? TopK { get; set; }

top_k, when set.

Value: int?

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product