Techniques

What is Chain-of-Thought (CoT)?

A prompting technique that asks AI to show its reasoning step by step.

Definition

Chain-of-Thought prompting is a technique where you instruct the AI to break down its reasoning into explicit, sequential steps before arriving at a final answer. This significantly improves accuracy on complex tasks like math, logic, coding, and analysis by forcing the model to "think through" the problem rather than jumping to a conclusion.

๐Ÿ’ก Example

Instead of "What is 17 ร— 24?", use: "Calculate 17 ร— 24 step by step." The AI responds: "17 ร— 24 = 17 ร— 20 + 17 ร— 4 = 340 + 68 = 408." The step-by-step reasoning reduces errors.

Related concepts

Prompt Engineering

The practice of crafting effective instructions to get better results from AI models.

โ†’
Few-Shot Learning

Providing a few examples in your prompt to teach the AI the pattern you want.

โ†’

Explore AI tools

Find tools that use chain-of-thought (cot) in practice.

Browse all tools โ†’ Back to glossary
What is Chain-of-Thought (CoT)?

Chain-of-Thought prompting is a technique where you instruct the AI to break down its reasoning into explicit, sequential steps before arriving at a final answer. This significantly improves accuracy on complex tasks like math, logic, coding, and analysis by forcing the model to "think through" the problem rather than jumping to a conclusion.

How does Chain-of-Thought (CoT) work in practice?

Instead of "What is 17 ร— 24?", use: "Calculate 17 ร— 24 step by step." The AI responds: "17 ร— 24 = 17 ร— 20 + 17 ร— 4 = 340 + 68 = 408." The step-by-step reasoning reduces errors.