Skip to content

Home > intention-kernel > ModelPromptDefinition

ModelPromptDefinition interface ​

Stable versioned instruction contract, independent of provider and storage.

Signature:

typescript
export interface ModelPromptDefinition

Properties ​

Property

Modifiers

Type

Description

contractVersion

readonly

number

Positive contract version; change when interpolation requirements change.

id

readonly

string

Stable unique identifier for this exact instruction variant.

template

readonly

string

Default instructions with optional exact placeholders.

variables

readonly

readonly string[]

Allowlisted names, each required in the reference values.