Class BatchDetectLanguageTextClassificationDetails
The documents details for text classification call.
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class BatchDetectLanguageTextClassificationDetailsProperties
Alias
Declaration
[JsonProperty(PropertyName = "alias")]
public string Alias { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique name across user tenancy in a region to identify an endpoint to be used for inferencing. | 
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment that calls the API, inference will be served from pre trained model | 
Documents
Declaration
[Required(ErrorMessage = "Documents is required.")]
[JsonProperty(PropertyName = "documents")]
public List<TextDocument> Documents { get; set; }Property Value
| Type | Description | 
|---|---|
| List<TextDocument> | List of Documents for detect text classification. | 
Remarks
Required
EndpointId
Declaration
[JsonProperty(PropertyName = "endpointId")]
public string EndpointId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The endpoint which have to be used for inferencing. If endpointId and compartmentId is provided, then inference will be served from custom model which is mapped to this Endpoint. |