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. For media types that are not text, 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. The result of executing the ExecutableCode.

§

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

§

Optional. The URI-based data of the part. This can be used to include files from Google Cloud Storage.

§

Optional. A predicted function call returned from the model. This contains the name of the function to call and the arguments to pass to the function.

§

Optional. The result of a function call. This is used to provide the model with the result of a function call that it predicted.

§

Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.

§

per part media resolution. Media resolution for the input media.

§
text?: string
[src]

Optional. The text content of the part.

§
thought?: boolean
[src]

Optional. Indicates whether the part represents the model's thought process or reasoning.

§
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.