Prediction input format for Text Extraction.
contentstring
The text snippet to make the predictions on.
mimeTypestring
The MIME type of the text snippet. The supported MIME types are listed below. - text/plain
keystring
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. Agent Platform will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.
| JSON representation |
|---|
{ "content": string, "mimeType": string, "key": string } |