Home Tools Glossary Prompt Chaining
Technique

Prompt Chaining

LLM Prompt Chaining Technique

/prompt cheyn-ing/

A design pattern where the output of one prompt serves as the input to the next in a sequential multi-step workflow.

In plain English
Instead of asking an AI to do everything in one giant prompt, prompt chaining breaks a complex job into an assembly line of smaller, focused prompts.
Real-world example
A three-stage pipeline extracting text from a PDF, summarizing key bullet points, and formatting an HTML email newsletter.
Technical definition
Prompt chaining is an orchestration design pattern wherein a complex task is decomposed into sequential sub-tasks executed across multiple linked LLM prompts. The output tensor or text from one prompt stage undergoes validation and serves as conditioned context for subsequent stages, enhancing reliability and accuracy.