RerankModelDocuments
Namespace: Vercel.AI.Operations
public sealed class RerankModelDocumentsDocuments sent to a reranking model.
Inheritance: object
Constructors
Section titled “Constructors”RerankModelDocuments(string, IReadOnlyList<object?>)
Section titled “RerankModelDocuments(string, IReadOnlyList<object?>)”public RerankModelDocuments(string type, IReadOnlyList<object?> values)Creates a document batch.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
values |
IReadOnlyList<object> |
Properties
Section titled “Properties”public string Type { get; }text or object.
Value: string
Values
Section titled “Values”public IReadOnlyList<object?> Values { get; }Document values.
Value: IReadOnlyList<object>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product