Cloud AI Platform v1 API - Class TextExtractionPredictionInstance (2.26.0)

public sealed class TextExtractionPredictionInstance : IMessage<TextExtractionPredictionInstance>, IEquatable<TextExtractionPredictionInstance>, IDeepCloneable<TextExtractionPredictionInstance>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class TextExtractionPredictionInstance.

Prediction input format for Text Extraction.

Inheritance

object > TextExtractionPredictionInstance

Namespace

Google.Cloud.AIPlatform.V1.Schema.Predict.Instance

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

TextExtractionPredictionInstance()

public TextExtractionPredictionInstance()

TextExtractionPredictionInstance(TextExtractionPredictionInstance)

public TextExtractionPredictionInstance(TextExtractionPredictionInstance other)
Parameter
NameDescription
otherTextExtractionPredictionInstance

Properties

Content

public string Content { get; set; }

The text snippet to make the predictions on.

Property Value
TypeDescription
string

Key

public string Key { get; set; }

This field is only used for batch prediction. If a key is provided, the batch prediction result will by mapped to this key. If omitted, then the batch prediction result will contain the entire input instance. Vertex AI will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.

Property Value
TypeDescription
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
TypeDescription
string