LogoPixi’VN
indexInterfaces

Interface: PromptTemplate

Defined in: src/types/PromptTemplate.ts:7

A prompt template supplies the static instructions injected as the first section of a generated prompt (e.g. output format rules). Everything else (developer request, history, scene, ...) is assembled by the PromptBuilder, so templates stay small and easy to override via ai.templates.

Properties

instructions

> instructions: string

Defined in: src/types/PromptTemplate.ts:11

Instructions given to the model, e.g. output format and behavior rules.

On this page