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

GoogleCloudAiplatformV1Content

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

The structured data content of a message. A Content message contains a role field, which indicates the producer of the content, and a parts field, which contains the multi-part data of the message.

interface GoogleCloudAiplatformV1Content {
role?: string;
}

§Properties

§

Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part.

§
role?: string
[src]

Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'.