Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::TextClassificationPredictionInstance
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::TextClassificationPredictionInstance
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.rb
Overview
Prediction input format for Text Classification.
Instance Attribute Summary collapse
-
#content ⇒ ::String
The text snippet to make the predictions on.
-
#mime_type ⇒ ::String
The MIME type of the text snippet.
Instance Attribute Details
#content ⇒ ::String
Returns The text snippet to make the predictions on.
36 37 38 39 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.rb', line 36 class TextClassificationPredictionInstance 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.
36 37 38 39 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.rb', line 36 class TextClassificationPredictionInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |