dair-ai / Prompt-Engineering-Guide

🐙 Guides, papers, lecture, notebooks and resources for prompt engineering
https://www.promptingguide.ai/
MIT License
45.96k stars 4.42k forks source link

Feedback for “Self-Consistency” #491

Open kramarek opened 1 month ago

kramarek commented 1 month ago

ChatGPT4 has no problems solving the puzzle correctly. Please try it out. Output:

To calculate your sister's age, we start with how old she was when you were 6 years old. At that time, she was half your age, so she was 3 years old.

Since the age difference between you and your sister remains constant at 3 years, we can simply add this difference to your current age.

You are now 70 years old, so your sister is now 70 - 3 = 67 years old.