Class TextExtractionPredictionInstance (1.0.1)

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

Prediction input format for Text Extraction. .. attribute:: content

The text snippet to make the predictions on.

:type: str

Attributes

Name Description
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. AI Platform will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.

Inheritance

builtins.object > proto.message.Message > TextExtractionPredictionInstance