Interface ResolvedPromptFragment

Represents a prompt fragment with all variables and function references resolved

interface ResolvedPromptFragment {
    functionDescriptions?: Map<string, ToolRequest>;
    id: string;
    text: string;
    variables?: ResolvedAIVariable[];
}

Properties

functionDescriptions?: Map<string, ToolRequest>

All functions referenced in the prompt fragment

id: string

The fragment ID

text: string

The resolved prompt text with variables and function requests being replaced

variables?: ResolvedAIVariable[]

All variables resolved in the prompt fragment