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