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 base structured datatype containing multi-part content of a message. A Content includes a role field designating the producer of the Content and a parts field containing multi-part data that contains the content of the message turn.

interface GoogleCloudAiplatformV1Content {
role?: string;
}

§Properties

§

Required. Ordered Parts that constitute a single message. Parts may have different IANA MIME types.

§
role?: string
[src]

Optional. The producer of the content. Must be either 'user' or 'model'. Useful to set for multi-turn conversations, otherwise can be left blank or unset.