UNPKG

@callmedayz/ai-prompt-toolkit

Version:

Professional AI prompt engineering toolkit with advanced template features, real-time dashboards, conditional logic, template inheritance, live monitoring, OpenRouter integration, and 310+ model support

41 lines 1.44 kB
import { ChainOfThoughtOptions, ChainOfThoughtResult, ChainOfThoughtStep } from './types'; /** * Chain-of-Thought Prompt Template System * Creates structured prompts that guide AI models through step-by-step reasoning */ export declare class ChainOfThoughtTemplate { private options; private template; constructor(options: ChainOfThoughtOptions); /** * Generate the chain-of-thought prompt */ generate(variables?: Record<string, any>): ChainOfThoughtResult; /** * Add a new step to the chain */ addStep(step: ChainOfThoughtStep): ChainOfThoughtTemplate; /** * Remove a step by ID */ removeStep(stepId: string): ChainOfThoughtTemplate; /** * Update a specific step */ updateStep(stepId: string, updates: Partial<ChainOfThoughtStep>): ChainOfThoughtTemplate; /** * Get all steps */ getSteps(): ChainOfThoughtStep[]; /** * Create a template for common reasoning patterns */ static createPattern(pattern: 'problem-solving' | 'analysis' | 'decision-making' | 'creative'): ChainOfThoughtTemplate; private buildTemplate; private determineComplexity; } /** * Utility function to create a quick chain-of-thought prompt */ export declare function createChainOfThought(problem: string, steps: string[], options?: Partial<ChainOfThoughtOptions>): ChainOfThoughtResult; //# sourceMappingURL=chain-of-thought.d.ts.map