Prompt chaining is a technique in which the output from one prompt becomes input or context for a later prompt. It is used to decompose complex work into sequential steps, refine intermediate results, or build multi-stage generative AI workflows.
Using the output of one prompt as the input to another prompt. Least-to-most prompting is a popular form of prompt chaining.