Show / Hide Table of Contents

Class DocumentRank

An object that contains a relevance score, an index and the text for a document.

Inheritance
object
DocumentRank
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 DocumentRank

Properties

Document

Declaration
[JsonProperty(PropertyName = "document")]
public Document Document { get; set; }
Property Value
Type Description
Document

Index

Declaration
[JsonProperty(PropertyName = "index")]
public int? Index { get; set; }
Property Value
Type Description
int?

Index of the document in documents array.

RelevanceScore

Declaration
[JsonProperty(PropertyName = "relevanceScore")]
public double RelevanceScore { get; set; }
Property Value
Type Description
double

The relevance score for the document at that index.

In this article
Back to top