Class TextClassificationPredictionInstance (0.4.0)

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

Prediction input format for Text Classification.

Attributes

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