Class TextClassificationPredictionInstance (1.48.0)

TextClassificationPredictionInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction input format for Text Classification.

Attributes

NameDescription
content str
The text snippet to make the predictions on.
mime_type str
The MIME type of the text snippet. The supported MIME types are listed below. - text/plain

Methods

TextClassificationPredictionInstance

TextClassificationPredictionInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction input format for Text Classification.

TextClassificationPredictionInstance

TextClassificationPredictionInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction input format for Text Classification.