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

GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage

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

The prompt message that aligns with the prompt message in google.cloud.aiplatform.master.GenerateContentRequest.

interface GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage {
model?: string;
systemInstruction?: GoogleCloudAiplatformV1Content;
}

§Properties

§

The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.

§

Generation config.

§
model?: string
[src]

The model name.

§

Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.

§

The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph.

§

Tool config. This config is shared for all tools provided in the request.

§

A list of Tools the model may use to generate the next response. A Tool is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.