Interface ContextualPromptElement

Defines contextual elements that can be dynamically injected into prompts.

Interface

ContextualPromptElement

interface ContextualPromptElement {
    id: string;
    type: string;
    content: string | object;
    criteria: ContextualPromptElementCriteria;
    priority?: number;
    metadata?: Record<string, any>;
}

Properties

id: string
type: string
content: string | object
priority?: number
metadata?: Record<string, any>