Iterative Chain Design
6 fill-in slots · from The AI Prompt Handbook for AI Workflows & Automation
Your details
0/6 filledIterative Chain Design
Design an iterative prompt chain that improves its output: TASK: [Task that benefits from iteration] QUALITY CRITERIA: [How to measure if output is good enough] ITERATION DESIGN: INITIAL GENERATION: - Prompt for first attempt - Output format EVALUATION STEP: - Prompt to assess quality - Scoring criteria - Output: { "score": 1-10, "issues": [...], "suggestions": [...] } REFINEMENT STEP: - Prompt that improves based on evaluation - Input: original output + evaluation - Output: improved version ITERATION CONTROL: - Maximum iterations: [number] - Stop when: [condition] - Fallback if max reached: [action] EXAMPLE FLOW: Generate → Evaluate (score: 6) → Refine → Evaluate (score: 8) → Accept COST MANAGEMENT: - Expected iterations per item - Cost per iteration - Circuit breaker conditions
Highlighted [slots] are still empty. Downloads are plain .txt — paste into any AI assistant.