5 patterns
Reasoning & Prompting
Shape how one model thinks inside a call or a short fixed chain: decompose, ask follow-ups, verify its own claims, or hand the arithmetic to code.
Patterns in Reasoning & Prompting
Chain-of-Thought
Reasoning & Prompting · 6 nodes · 5 LLM calls · branch · 2 scenarios
The model writes out its intermediate reasoning steps before the final answer, all inside one call.
Least-to-Most Prompting
Reasoning & Prompting · 5 nodes · 5 LLM calls · loop · branch · 1 scenario
First break the problem into easier subquestions, then solve them in order, feeding each answer into the next.
Self-Ask
Reasoning & Prompting · 4 nodes · 6 LLM calls · loop · branch · 1 scenario
The model asks itself follow-up questions, answers each one (optionally with search), then composes the final answer.
Chain-of-Verification
Reasoning & Prompting · 8 nodes · 5 LLM calls · parallel · 2 scenarios
Draft an answer, plan questions that check its claims, answer each one without seeing the draft, then rewrite the answer to match.
Program-Aided Reasoning
Reasoning & Prompting · 4 nodes · 1 LLM call · loop · branch · 2 scenarios
The model writes a program that encodes its reasoning, an interpreter runs it, and the program's output is the answer.