Metadata for prompt templates

Contains descriptive information and LLM configuration hints.

interface PromptMetadata {
    description?: string;
    author?: string;
    tags?: string[];
    model?: string;
    maxTokens?: number;
    temperature?: number;
    createdAt: Date;
    updatedAt: Date;
    readonly [key: string]: unknown;
}

Indexable

  • readonly [key: string]: unknown

    Additional custom metadata

Properties

description?: string

Description of what this prompt does

author?: string

Author or creator

tags?: string[]

Tags for categorization and search

model?: string

Recommended model for this prompt

maxTokens?: number

Recommended max tokens

temperature?: number

Recommended temperature

createdAt: Date

Creation timestamp

updatedAt: Date

Last update timestamp