Class TextExtractionPredictionInstance (1.36.4)

TextExtractionPredictionInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction input format for Text Extraction.

Attributes

NameDescription
content str
The text snippet to make the predictions on.
mime_type str
The MIME type of the text snippet. The supported MIME types are listed below. - text/plain
key str
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.

Methods

TextExtractionPredictionInstance

TextExtractionPredictionInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction input format for Text Extraction.

TextExtractionPredictionInstance

TextExtractionPredictionInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction input format for Text Extraction.