Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::TextSentimentPredictionInstance.
Prediction input format for Text Sentiment.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
- (::String) — The text snippet to make the predictions on.
#content=
def content=(value) -> ::String
- value (::String) — The text snippet to make the predictions on.
- (::String) — The text snippet to make the predictions on.
#mime_type
def mime_type() -> ::String
-
(::String) —
The MIME type of the text snippet. The supported MIME types are listed below.
- text/plain
#mime_type=
def mime_type=(value) -> ::String
-
value (::String) —
The MIME type of the text snippet. The supported MIME types are listed below.
- text/plain
-
(::String) —
The MIME type of the text snippet. The supported MIME types are listed below.
- text/plain