BatchDetectLanguageTextClassificationResult¶
- class oci.ai_language.models.BatchDetectLanguageTextClassificationResult(**kwargs)¶
Bases:
objectResult of text classification detect call.
Methods:
__init__(**kwargs)Initializes a new BatchDetectLanguageTextClassificationResult object with values from keyword arguments.
Attributes:
[Required] Gets the documents of this BatchDetectLanguageTextClassificationResult.
Gets the errors of this BatchDetectLanguageTextClassificationResult.
- __init__(**kwargs)¶
Initializes a new BatchDetectLanguageTextClassificationResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
documents (list[oci.ai_language.models.TextClassificationDocumentResult]) – The value to assign to the documents property of this BatchDetectLanguageTextClassificationResult.
errors (list[oci.ai_language.models.DocumentError]) – The value to assign to the errors property of this BatchDetectLanguageTextClassificationResult.
- property documents¶
[Required] Gets the documents of this BatchDetectLanguageTextClassificationResult. List of succeeded document response.
- Returns
The documents of this BatchDetectLanguageTextClassificationResult.
- Return type
list[oci.ai_language.models.TextClassificationDocumentResult]
- property errors¶
Gets the errors of this BatchDetectLanguageTextClassificationResult. List of failed document response.
- Returns
The errors of this BatchDetectLanguageTextClassificationResult.
- Return type