Short Answer

Constructing a One-Shot CoT Prompt for a Logic Puzzle

You are tasked with getting a large language model to solve the following logic puzzle: 'A farmer has a fox, a chicken, and a bag of grain. He needs to cross a river in a boat that can only carry himself and one other item at a time. If left unattended, the fox will eat the chicken, and the chicken will eat the grain. How can the farmer get all three items across the river safely?'

Construct a complete one-shot Chain-of-Thought prompt to guide the model. Your prompt must include a different, but analogous, solved example that clearly demonstrates the step-by-step reasoning process required for this type of constraint-based problem.

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