Class TextClassification
Text label and score for the given text.
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class TextClassification
Properties
Label
Declaration
[Required(ErrorMessage = "Label is required.")]
[JsonProperty(PropertyName = "label")]
public string Label { get; set; }
Property Value
Type | Description |
---|---|
string | Label of the the given text. |
Remarks
Required
Score
Declaration
[Required(ErrorMessage = "Score is required.")]
[JsonProperty(PropertyName = "score")]
public double Score { get; set; }
Property Value
Type | Description |
---|---|
double | Score or confidence of extracted text label. Example: 0.9999856066867399 |
Remarks
Required