public sealed class TextClassificationPredictionInstance : IMessage<TextClassificationPredictionInstance>, IEquatable<TextClassificationPredictionInstance>, IDeepCloneable<TextClassificationPredictionInstance>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class TextClassificationPredictionInstance.
Prediction input format for Text Classification.
Implements
IMessageTextClassificationPredictionInstance, IEquatableTextClassificationPredictionInstance, IDeepCloneableTextClassificationPredictionInstance, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.InstanceAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
TextClassificationPredictionInstance()
public TextClassificationPredictionInstance()
TextClassificationPredictionInstance(TextClassificationPredictionInstance)
public TextClassificationPredictionInstance(TextClassificationPredictionInstance other)
Parameter | |
---|---|
Name | Description |
other |
TextClassificationPredictionInstance |
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 |