MemotivaPrompt Engineering Patterns: Chain-of-Thought (CoT), Zero-Shot CoT, Reasoning for Complex Tasks

When should you use chain-of-thought prompting?

Prompt Engineering Patterns: Chain-of-Thought (CoT), Zero-Shot CoT, Reasoning for Complex Tasks

Audio flashcard · 0:21

Nortren·

When should you use chain-of-thought prompting?

0:21

Use CoT for tasks requiring multi-step reasoning, math problems, logical deduction, complex planning, or any task where the model tends to make errors when answering directly. CoT is unnecessary for simple lookup tasks, classification with clear categories, or tasks where the answer follows trivially from the input. CoT increases token usage, so use it where the accuracy gain justifies the cost.
promptingguide.ai