What is the difference between decomposition and chain-of-thought?
Prompt Engineering Patterns: Prompt Chaining, Decomposition, and Multi-Step Workflows
Audio flashcard · 0:20Nortren·
What is the difference between decomposition and chain-of-thought?
0:20
Chain-of-thought produces reasoning steps within a single response leading to one final answer. Decomposition produces a structured plan of separate subtasks that may each be solved with their own LLM call. CoT is implicit and inline; decomposition is explicit and produces a workflow. They complement each other: decompose first, then use CoT within each subtask.
arxiv.org