Class TextClassificationPredictionInstance (1.18.3)

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

Inheritance

builtins.object > proto.message.Message > TextClassificationPredictionInstance

Methods

TextClassificationPredictionInstance

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

Prediction input format for Text Classification.