AI Glossary / Prompt chaining
⌨️ Prompts
Prompt chaining
Breaking a large task into a series of prompts, where each works on the result of the previous one.
Prompt chaining is deliberately breaking a large task into a series of smaller prompts, where the output of one step becomes the input for the next. Example: first summarize a report, then extract conclusions from just the summary, finally turn the conclusions into a presentation. This division produces better results than one big instruction, because the model focuses on one thing at a time, and you control and correct each stage. It's also the foundation of AI automation - workflows in automation tools are in practice exactly these prompt chains.
Related concepts