public sealed class TextSentimentPredictionInstance : IMessage<TextSentimentPredictionInstance>, IEquatable<TextSentimentPredictionInstance>, IDeepCloneable<TextSentimentPredictionInstance>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class TextSentimentPredictionInstance.
Prediction input format for Text Sentiment.
Implements
IMessageTextSentimentPredictionInstance, IEquatableTextSentimentPredictionInstance, IDeepCloneableTextSentimentPredictionInstance, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.InstanceAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
TextSentimentPredictionInstance()
public TextSentimentPredictionInstance()TextSentimentPredictionInstance(TextSentimentPredictionInstance)
public TextSentimentPredictionInstance(TextSentimentPredictionInstance other)| Parameter | |
|---|---|
| Name | Description |
other |
TextSentimentPredictionInstance |
Properties
Content
public string Content { get; set; }The text snippet to make the predictions on.
| Property Value | |
|---|---|
| Type | Description |
string |
|
MimeType
public string MimeType { get; set; }The MIME type of the text snippet. The supported MIME types are listed below.
- text/plain
| Property Value | |
|---|---|
| Type | Description |
string |
|