A versioned LLM prompt template. Extends PromptInput with version tracking for history and rollback capabilities.

interface Prompt {
    id: string;
    prompt: string;
    version: number;
}

Hierarchy (view full)

Properties

Properties

id: string

Unique identifier for the prompt

prompt: string

The prompt template text, may include Mustache template variables

version: number

Version number of this prompt, increments with each update