Principle:Ucbepic Docetl Prompt Iteration
| 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:
- Observe: Run pipeline and inspect output quality
- Analyze: Use AI chat to understand output patterns and failures
- Improve: Apply AI-suggested prompt modifications
- Decompose: Split complex operations into simpler ones if needed
- Iterate: Re-run and compare results