Class RerankTextResult
The rerank response to return to the caller.
Inherited Members
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 |
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. |