How does Prompt Chaining work
Short answer
Each step in the chain focuses on a smaller part of the overall task, and the results are passed along the chain until the final desired output is produced.
Advertisement
AModel answer
Each step in the chain focuses on a smaller part of the overall task, and the results are passed along the chain until the final desired output is produced.
Real-world example
A writing tool uses prompt chaining to first generate an outline, then expand each outline point into a full paragraph in a second step.
Likely follow-ups
- What is Prompt Engineering, How is Prompt Chaining evaluated in practice, What tools are commonly used for Prompt Chaining
Related topics