BatchDetectLanguageTextClassificationDetails¶
-
class
oci.ai_language.models.
BatchDetectLanguageTextClassificationDetails
(**kwargs)¶ Bases:
object
The documents details for text classification call.
Methods
__init__
(**kwargs)Initializes a new BatchDetectLanguageTextClassificationDetails object with values from keyword arguments. Attributes
alias
Gets the alias of this BatchDetectLanguageTextClassificationDetails. compartment_id
Gets the compartment_id of this BatchDetectLanguageTextClassificationDetails. documents
[Required] Gets the documents of this BatchDetectLanguageTextClassificationDetails. endpoint_id
Gets the endpoint_id of this BatchDetectLanguageTextClassificationDetails. -
__init__
(**kwargs)¶ Initializes a new BatchDetectLanguageTextClassificationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - alias (str) – The value to assign to the alias property of this BatchDetectLanguageTextClassificationDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this BatchDetectLanguageTextClassificationDetails.
- endpoint_id (str) – The value to assign to the endpoint_id property of this BatchDetectLanguageTextClassificationDetails.
- documents (list[oci.ai_language.models.TextDocument]) – The value to assign to the documents property of this BatchDetectLanguageTextClassificationDetails.
-
alias
¶ Gets the alias of this BatchDetectLanguageTextClassificationDetails. Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
Returns: The alias of this BatchDetectLanguageTextClassificationDetails. Return type: str
-
compartment_id
¶ Gets the compartment_id of this BatchDetectLanguageTextClassificationDetails. The OCID of the compartment that calls the API, inference will be served from pre trained model
Returns: The compartment_id of this BatchDetectLanguageTextClassificationDetails. Return type: str
-
documents
¶ [Required] Gets the documents of this BatchDetectLanguageTextClassificationDetails. List of Documents for detect text classification.
Returns: The documents of this BatchDetectLanguageTextClassificationDetails. Return type: list[oci.ai_language.models.TextDocument]
-
endpoint_id
¶ Gets the endpoint_id of this BatchDetectLanguageTextClassificationDetails. 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.
Returns: The endpoint_id of this BatchDetectLanguageTextClassificationDetails. Return type: str
-