BatchDetectLanguageSentimentsDetails¶
- class oci.ai_language.models.BatchDetectLanguageSentimentsDetails(**kwargs)¶
Bases:
objectThe documents details for sentiment call.
Methods:
__init__(**kwargs)Initializes a new BatchDetectLanguageSentimentsDetails object with values from keyword arguments.
Attributes:
Gets the alias of this BatchDetectLanguageSentimentsDetails.
Gets the compartment_id of this BatchDetectLanguageSentimentsDetails.
[Required] Gets the documents of this BatchDetectLanguageSentimentsDetails.
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.
- property 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
- property 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
- property documents¶
[Required] Gets the documents of this BatchDetectLanguageSentimentsDetails. List of Documents for detect sentiments.
- Returns
The documents of this BatchDetectLanguageSentimentsDetails.
- Return type
- property 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