Show / Hide Table of Contents

Class RerankTextResult

The rerank response to return to the caller.

Inheritance
object
RerankTextResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class RerankTextResult

Properties

DocumentRanks

Declaration
[Required(ErrorMessage = "DocumentRanks is required.")]
[JsonProperty(PropertyName = "documentRanks")]
public List<DocumentRank> DocumentRanks { get; set; }
Property Value
Type Description
List<DocumentRank>

Top n documents with their index and relevance score.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

A unique identifier for this RerankResult.

Remarks

Required

ModelId

Declaration
[JsonProperty(PropertyName = "modelId")]
public string ModelId { get; set; }
Property Value
Type Description
string

The OCID of the model used in the rerank request.

ModelVersion

Declaration
[JsonProperty(PropertyName = "modelVersion")]
public string ModelVersion { get; set; }
Property Value
Type Description
string

The version of the model.

In this article
Back to top