Skip to content

PromptBundleMessage

PromptScript API


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

One message of a prompt bundle.

Properties

content

content: string

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

Message text with runtime slots left unrendered. Line endings are \n.

Example

"Customer wrote: {{input.message}}"

role

role: PromptBundleRole

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

Message role