Skip to content

PromptBundleOutputProperty

PromptScript API


Defined in: core/src/types/prompt-bundle.ts:36

One property of a prompt bundle output schema.

Properties

description?

optional description?: string

Defined in: core/src/types/prompt-bundle.ts:40

Description of the property


enum?

optional enum?: string[]

Defined in: core/src/types/prompt-bundle.ts:42

Allowed values of an enum property


items?

optional items?: object

Defined in: core/src/types/prompt-bundle.ts:44

Item schema of an array property

enum?

optional enum?: string[]

type

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


type

type: "string" | "number" | "boolean" | "array"

Defined in: core/src/types/prompt-bundle.ts:38

JSON Schema type