What is task decomposition in prompting?
Prompt Engineering Patterns: Prompt Chaining, Decomposition, and Multi-Step Workflows
Audio flashcard · 0:20Nortren·
What is task decomposition in prompting?
0:20
Task decomposition is asking the model to break a complex task into smaller subtasks before solving any of them. The model first outputs a list of steps, then executes each step in turn. Decomposition helps because LLMs perform better on small focused subtasks than on monolithic complex requests, and the breakdown itself often reveals what context each step needs.
arxiv.org