Class DocumentRank
An object that contains a relevance score, an index and the text for a document.
Inherited Members
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. |