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

GoogleCloudAiplatformV1FunctionResponseBlob

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

Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field.

interface GoogleCloudAiplatformV1FunctionResponseBlob {
data?: Uint8Array;
displayName?: string;
mimeType?: string;
}

§Properties

§
data?: Uint8Array
[src]

Required. Raw bytes.

§
displayName?: string
[src]

Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.

§
mimeType?: string
[src]

Required. The IANA standard MIME type of the source data.