Example

Example of a Few-Shot CoT Prompting Demonstration (Boris and Beck's Apples)

An arithmetic reasoning word problem about Boris and Beck's apples is presented as a demonstration for a few-shot Chain-of-Thought prompt. The problem states that Boris starts with 100 apples and Beck has 23 fewer. After Boris gives 10 apples to Beck, the task is to find the new difference in their apple counts. This example is used to teach a Large Language Model both the problem-solving steps and the desired output format.

0

1

Updated 2025-10-09

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models Course