What is a Chain-of-Thought Prompting?
Asking an AI to show its reasoning step by step before giving a final answer, which often improves accuracy on complex tasks.
Chain-of-Thought Prompting explained in plain English
Analogy
Chain-of-thought prompting is like requiring a student to show their working on a maths paper rather than writing only the final number. The steps reveal — and often correct — mistakes along the way.
Example
How is Chain-of-Thought Prompting used?
Developers use chain-of-thought prompting to improve maths, logic, and reasoning in LLMs. Asking "explain your steps" before the answer is a simple version anyone can use in ChatGPT.
Common misconceptions about Chain-of-Thought Prompting
Showing steps does not guarantee correctness — models can confabulate convincing but wrong reasoning chains.
People also read
- Inference
The phase when a trained model is actually used — taking new input and producing a prediction or response.
- Prompt
The input text or instruction given to an AI model to guide its response.
- RAG
A technique that combines AI language models with external knowledge retrieval for more accurate answers.
- AI slop
Output from a generative AI system that favors quantity over quality.
- average precision at k
A metric for summarizing a model's performance on a single prompt that generates ranked results, such as a numbered list of book recommendations.
- black box model
A model whose "reasoning" is impossible or difficult for humans to understand.
- Confabulation
When an AI produces a confident, fluent answer that sounds true but is factually wrong — generating plausible language without a reliable link to reality.
- Context Window
The maximum amount of text a language model can consider at one time, measured in tokens.
- conversational coding
An iterative dialog between you and a generative AI model for the purpose of creating software.
- deterministic
A system that always returns the same output for a given input.