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

GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt

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

Prompt variation that stores preambles in separate fields.

interface GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt {
infillPrefix?: string;
infillSuffix?: string;
inputPrefixes?: string[];
outputPrefixes?: string[];
}

§Properties

§

Preamble: The context of the prompt.

§

Preamble: A set of examples for expected model response.

§
infillPrefix?: string
[src]

Preamble: For infill prompt, the prefix before expected model response.

§
infillSuffix?: string
[src]

Preamble: For infill prompt, the suffix after expected model response.

§
inputPrefixes?: string[]
[src]

Preamble: The input prefixes before each example input.

§
outputPrefixes?: string[]
[src]

Preamble: The output prefixes before each example output.

§

Preamble: The input test data for prediction. Each PartList in this field represents one text-only input set for a single model request.