RerankModelRank
Namespace: Vercel.AI.Operations
public sealed class RerankModelRankOne ranked index from the model.
Inheritance: object
Constructors
Section titled “Constructors”RerankModelRank(int, double)
Section titled “RerankModelRank(int, double)”public RerankModelRank(int index, double relevanceScore)Creates a rank.
Parameters
| Name | Type | Description |
|---|---|---|
index |
int | |
relevanceScore |
double |
Properties
Section titled “Properties”public int Index { get; }Index in the submitted document list.
Value: int
RelevanceScore
Section titled “RelevanceScore”public double RelevanceScore { get; }Relevance score.
Value: double
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product