Class TextSentimentPredictionInstance (1.48.0)

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

Prediction input format for Text Sentiment.

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

TextSentimentPredictionInstance

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

Prediction input format for Text Sentiment.

TextSentimentPredictionInstance

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

Prediction input format for Text Sentiment.