Skip to content

RerankModelRank

Namespace: Vercel.AI.Operations

public sealed class RerankModelRank

One ranked index from the model.

Inheritance: object

View source

public RerankModelRank(int index, double relevanceScore)

Creates a rank.

Parameters

Name Type Description
index int
relevanceScore double

View source

public int Index { get; }

Index in the submitted document list.

Value: int

View source

public double RelevanceScore { get; }

Relevance score.

Value: double

View source

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