Represents a line of JSONL in the batch prediction output file.
The prediction result. value is used here instead of Any so that JsonFormat does not append an extra "@type" field when we convert the proto to JSON and so we can represent array of objects. Do not set error if this is set.
The error result. Do not set prediction if this is set.
inputUnion type
Some identifier from the input so that the prediction can be mapped back to the input instance.
input can be only one of the following:user's input instance. Struct is used here instead of Any so that JsonFormat does not append an extra "@type" field when we convert the proto to JSON.
keystring
Optional user-provided key from the input instance.
| JSON representation |
|---|
{
"prediction": value,
"error": {
object ( |