Short Answer

Constructing a One-Shot Chain-of-Thought Prompt

You need to guide a language model to solve a logic puzzle. Your task is to construct a complete prompt that uses a single demonstration to show the model how to reason step-by-step.

Your prompt must include:

  1. A single, complete example puzzle with its solution.
  2. A clear, step-by-step explanation of the reasoning used to arrive at the solution for your example.
  3. The new puzzle for the model to solve: 'A bat and a ball cost $1.10 in total. The bat costs $1.00 more than the ball. How much does the ball cost?'

0

1

Updated 2025-10-03

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Creation in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science