Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::TextSentimentPredictionInstance

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.rb

Overview

Prediction input format for Text Sentiment.

Instance Attribute Summary collapse

Instance Attribute Details

#content::String

Returns The text snippet to make the predictions on.

Returns:

  • (::String)

    The text snippet to make the predictions on.



36
37
38
39
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.rb', line 36

class TextSentimentPredictionInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#mime_type::String

Returns The MIME type of the text snippet. The supported MIME types are listed below.

  • text/plain.

Returns:

  • (::String)

    The MIME type of the text snippet. The supported MIME types are listed below.

    • text/plain


36
37
38
39
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.rb', line 36

class TextSentimentPredictionInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end