RerankOptions
Namespace: Vercel.AI
public sealed class RerankOptionsRerank options.
Inheritance: object
Properties
Section titled “Properties”Documents
Section titled “Documents”public IReadOnlyList<string> Documents { get; set; }Documents.
Value: IReadOnlyList<string>
Headers
Section titled “Headers”public IReadOnlyDictionary<string, string?>? Headers { get; set; }Headers for this call. They override the provider headers.
Value: IReadOnlyDictionary<string, string>
public IRerankingModel? Model { get; set; }Reranking model.
Value: IRerankingModel
public string Query { get; set; }Query.
Value: string
public int? TopN { get; set; }Maximum results.
Value: int?
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product