Few-shot chain of thought (CoT) prompts a language model with a small set of examples that include high-quality reasoning chains, then asks it to solve a new instance. The examples demonstrate both the task format and a step-by-step solution pattern. section 6.4.5
Use the technique to:
- Improve accuracy and reliability on tasks such as question answering, translation, and code generation. section 6.4.5
- Distinguish example-driven few-shot CoT from zero-shot CoT, which adds an instruction such as “Take a step-by-step approach.” section 6.4.5
Arithmetic prompt pattern
Provide worked examples such as calculating computers installed over several days or golf balls remaining after losses, then pose a similar question and request the final answer.

