Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Principle:Ucbepic Docetl Prompt Iteration

From Leeroopedia


Knowledge Sources
Domains Prompt_Engineering, User_Interface
Last Updated 2026-02-08 01:40 GMT

Overview

An interactive prompt engineering principle that uses AI-assisted chat and automated decomposition to iteratively improve operation prompts.

Description

Prompt Iteration provides two AI-assisted mechanisms for improving pipeline operation prompts:

  • AI Chat Panel: A conversational interface where users can ask questions about pipeline output, request prompt improvements, and get suggestions based on sample results
  • Prompt Improvement Dialog: An automated prompt rewriting tool that analyzes operation output and suggests improvements

Additionally, the decomposition feature can split complex operations into multiple simpler operations using the FastDecomposer optimizer.

Usage

Use the AI Chat Panel (right sidebar in playground) for interactive prompt refinement. Use the Prompt Improvement Dialog for automated suggestions. Use decomposition when a single operation is trying to do too much.

Theoretical Basis

Iterative prompt refinement:

  1. Observe: Run pipeline and inspect output quality
  2. Analyze: Use AI chat to understand output patterns and failures
  3. Improve: Apply AI-suggested prompt modifications
  4. Decompose: Split complex operations into simpler ones if needed
  5. Iterate: Re-run and compare results

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment