BatchDetectLanguageTextClassificationResult

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

Bases: object

Result of text classification detect call.

Methods:

__init__(**kwargs)

Initializes a new BatchDetectLanguageTextClassificationResult object with values from keyword arguments.

Attributes:

documents

[Required] Gets the documents of this BatchDetectLanguageTextClassificationResult.

errors

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
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

list[oci.ai_language.models.DocumentError]