BatchDetectLanguageSentimentsResult

class oci.ai_language.models.BatchDetectLanguageSentimentsResult(**kwargs)

Bases: object

Result of sentiments detect call.

Methods

__init__(**kwargs) Initializes a new BatchDetectLanguageSentimentsResult object with values from keyword arguments.

Attributes

documents [Required] Gets the documents of this BatchDetectLanguageSentimentsResult.
errors Gets the errors of this BatchDetectLanguageSentimentsResult.
__init__(**kwargs)

Initializes a new BatchDetectLanguageSentimentsResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
documents

[Required] Gets the documents of this BatchDetectLanguageSentimentsResult. List of succeeded document response.

Returns:The documents of this BatchDetectLanguageSentimentsResult.
Return type:list[oci.ai_language.models.SentimentDocumentResult]
errors

Gets the errors of this BatchDetectLanguageSentimentsResult. List of failed document response.

Returns:The errors of this BatchDetectLanguageSentimentsResult.
Return type:list[oci.ai_language.models.DocumentError]