Class TextSentimentPredictionInstance (1.19.1)

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

Prediction input format for Text Sentiment.

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

Methods

TextSentimentPredictionInstance

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

Prediction input format for Text Sentiment.