Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1SchemaPredictionResult

import type { GoogleCloudAiplatformV1SchemaPredictionResult } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

Represents a line of JSONL in the batch prediction output file.

interface GoogleCloudAiplatformV1SchemaPredictionResult {
instance?: {
[key: string]: any;
}
;
key?: string;
prediction?: any;
}

§Properties

§

The error result. Do not set prediction if this is set.

§
instance?: {
[key: string]: any;
}
[src]

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?: string
[src]

Optional user-provided key from the input instance.

§
prediction?: any
[src]

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.