RerankItem
Namespace: Vercel.AI.Provider
public sealed class RerankItemOne reranked document.
Inheritance: object
Constructors
Section titled “Constructors”RerankItem(int, double)
Section titled “RerankItem(int, double)”public RerankItem(int index, double score)Creates a rerank item.
Parameters
| Name | Type | Description |
|---|---|---|
index |
int | |
score |
double |
Properties
Section titled “Properties”public int Index { get; }Index in the original document list.
Value: int
public double Score { get; }Relevance score.
Value: double
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product