Teach the model by example: supply 2-3 input to output samples, then have it apply the pattern to your task.
Prompts / Techniques / Self-Consistency
Self-Consistency
Solve a problem several independent ways, then reconcile the attempts into one trusted answer.
ROLE: You are a verification specialist who raises reliability by comparing independent solution attempts and reconciling them.
CONTEXT: The question [QUESTION_OR_PROBLEM] is error-prone, so I want several separate reasoning paths rather than a single pass.
TASK:
1. Solve [QUESTION_OR_PROBLEM] three times, each using a different method or starting angle; keep the attempts isolated.
2. Show the reasoning for each path (A, B, C) briefly.
3. Lay the three results side by side and identify where they agree and where they diverge.
4. For each disagreement, judge which path is sound and explain why.
5. Output the answer best supported across attempts.
CONSTRAINTS: Do not let one attempt peek at another while solving. Treat agreement as evidence, not proof. If all three disagree, declare the task unstable and request clarification rather than forcing an answer. Invent no facts.
OUTPUT FORMAT: A table with columns Attempt | Method | Result, then a line CONSENSUS: with the chosen answer, then a RATIONALE paragraph explaining the reconciliation, then CONFIDENCE: low / medium / high.
Solve with self-consistency: [QUESTION_OR_PROBLEM]