Skip to content

PromptOutputField

PromptScript API


Defined in: core/src/types/prompts.ts:73

One field of a prompt output.

Properties

description

description: string

Defined in: core/src/types/prompts.ts:75

Description of the field


items?

optional items?: object

Defined in: core/src/types/prompts.ts:81

Item type of a list

options?

optional options?: string[]

type

type: "string" | "number" | "boolean" | "enum"


options?

optional options?: string[]

Defined in: core/src/types/prompts.ts:79

Options for enum type


type

type: "string" | "number" | "boolean" | "list" | "enum"

Defined in: core/src/types/prompts.ts:77

Value type, list holds items of one scalar type