RerankScore(String, Double, Int32) Constructor

Definition

Initializes a new instance of the RerankScore class.

public RerankScore(string document, double score, int index);
new Microsoft.Azure.Cosmos.RerankScore : string * double * int -> Microsoft.Azure.Cosmos.RerankScore
Public Sub New (document As String, score As Double, index As Integer)

Parameters

document
String

The document content or identifier.

score
Double

The reranked score for the document.

index
Int32

The original index of the document.

Applies to