brainax

What is chain of thought

Chain of thought is when a model solves a task in steps and writes out its reasoning before giving the answer. You usually ask for it with "solve it step by step, show your reasoning, then give the final answer".

It works because each written step becomes part of the text and the next step builds on it: it helps with maths, logic and plans. Reasoning models build such a chain on their own, but answer more slowly. Steps can look logical and still be wrong, so recalculate important numbers yourself.

Covered in the lessonThink step by stepOpen the lesson →

Articles on this topic

Free course on this topic: AI basics →

More terms from this course