ART Framework API Docs
    Preparing search index...

    Interface SystemPromptSpec

    Named preset for system prompts, supporting variables and a default merge strategy.

    SystemPromptSpec

    interface SystemPromptSpec {
        defaultVariables?: Record<string, any>;
        id?: string;
        mergeStrategy?: SystemPromptMergeStrategy;
        template: string;
    }
    Index

    Properties

    defaultVariables?: Record<string, any>

    Default variables applied if not provided at use time.

    id?: string

    Optional explicit ID; when in a registry map, the key is typically the tag.

    Default strategy to combine this spec with lower levels. Defaults to 'append'.

    template: string

    Template string. Supports simple {{variable}} placeholders and {{fragment:name}} for PromptManager fragments.