Prompt Chaining — AI Glossary

Prompt chaining is a strategy where you break a complex task into a sequence of simpler prompts, feeding the output of one step as input to the next. Each link in the chain handles one focused subtask, resulting in higher-quality outputs than attempting the entire task in a single prompt.