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

GoogleCloudAiplatformV1Part

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

A datatype containing media that is part of a multi-part Content message. A Part consists of data which has an associated datatype. A Part can only contain one of the accepted types in Part.data. A Part must have a fixed IANA MIME type identifying the type and subtype of the media if inline_data or file_data field is filled with raw bytes.

interface GoogleCloudAiplatformV1Part {
text?: string;
thought?: boolean;
thoughtSignature?: Uint8Array;
}

§Properties

§

Optional. Result of executing the [ExecutableCode].

§

Optional. Code generated by the model that is meant to be executed.

§

Optional. URI based data.

§

Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.

§

Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.

§

Optional. Inlined bytes data.

§
text?: string
[src]

Optional. Text part (can be code).

§
thought?: boolean
[src]

Optional. Indicates if the part is thought from the model.

§
thoughtSignature?: Uint8Array
[src]

Optional. An opaque signature for the thought so it can be reused in subsequent requests.

§

Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.