New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
Asked a question about a topic I know well, and the chatbot's answer confidently mixed up two related rules.
What you'll have at the end
A two-part prompt, principle then specifics, that answers correctly on three separate tries
You need
A chatbot you can send follow-up messages to, and a specific question in a subject you know well enough to spot a wrong or blurred answer.
Not covered
Getting a chatbot to admit it does not know something is a separate fix. This one is for an answer that sounds sure of itself and gets two adjacent rules tangled together.
Leans on
Get a chatbot's wrong math answer right with chain-of-thought prompting
When the mistake is a slip in a calculation instead of two confused facts, plain chain-of-thought reasoning is the simpler and more direct fix.
Vote across several chatbot answers with self-consistency prompting
When your two-part prompt still gives a different answer from one run to the next instead of confidently landing on one wrong rule, voting across several independent answers fixes that inconsistency directly.
Checked 18 Aug 2026
Part of the Prompt Engineering cookbook