Learn Before
Constructing a CoT Demonstration
You are building a prompt to help a language model solve simple logic puzzles. For the problem below, create a single, complete example demonstration (including the problem, a step-by-step thought process, and the final answer) that could be used as one of the examples in a few-shot chain-of-thought prompt.
Problem: There are 5 boxes. The red box is to the left of the blue box. The green box is to the right of the yellow box. The blue box is between the yellow and purple boxes. The yellow box is not at either end. What is the order of the boxes from left to right?
0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Ch.3 Prompting - Foundations of Large Language Models
Creation in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Comparison of Few-Shot and Zero-Shot CoT Prompting
Difficulty of Creating Few-Shot CoT Demonstrations
A developer wants to improve a language model's ability to solve multi-step logic puzzles. They decide to construct a prompt that includes examples to guide the model. Which of the following prompt structures best implements the technique of providing multiple, detailed, step-by-step reasoning demonstrations before presenting the final problem to be solved?
Constructing a CoT Demonstration
Analyzing a Prompt for Structured Data Extraction