View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictionResult (google_api_ai_platform v0.24.0)
Represents a line of JSONL in the batch prediction output file.
Attributes
-
error(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictionResultError.t, default:nil) - The error result. Do not set prediction if this is set. -
instance(type:map(), default:nil) - 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. -
key(type:String.t, default:nil) - Optional user-provided key from the input instance. -
prediction(type:any(), default:nil) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictionResult{ error: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictionResultError.t() | nil, instance: map() | nil, key: String.t() | nil, prediction: any() | nil }