Interface: IPromptTemplate
Defined in: internal/prompt-template-store/types.ts:265
One versioned prompt text.
Properties
body
body:
string
Defined in: internal/prompt-template-store/types.ts:271
Text with {slot} placeholders.
isActive
isActive:
boolean
Defined in: internal/prompt-template-store/types.ts:273
Exactly one active version per key.
key
key:
EPromptTemplateKey
Defined in: internal/prompt-template-store/types.ts:267
The job the text is for.
updatedAt
updatedAt:
Date
Defined in: internal/prompt-template-store/types.ts:275
When the version was saved or activated; the epoch for a seed.
version
version:
number
Defined in: internal/prompt-template-store/types.ts:269
The version within the key: 0 is the seed, stored versions count from 1; key + version identify a template.