Self-Consistency — sample multiple paths and vote on the answer
Generate several independent reasoning paths and select the answer that appears most frequently, reducing errors from single-path reasoning.
Reasoning4.5

Prompt template
Solve the problem step by step. Be creative and try a different approach than usual.
Problem: {problem}
Solution:How to use
- 1Run the same prompt 5-10 times with temperature 0.7
- 2Extract the final answer from each run
- 3Count frequency of each answer
- 4Select the most frequent answer as the result
- 5Report confidence as frequency / total samples
Pro tips
- Most effective for math and logic problems
- Use temperature 0.5-0.8 for diverse reasoning paths
- 5 samples typically gives 80% of the benefit of 10
- Combine with chain-of-thought for best results
Self-ConsistencyEnsembleAccuracychatgpt
Ratings & Reviews
Loading reviews…
Related Skills

Reasoning
Tree of Thoughts — deliberate problem solving with branching reasoning
Explore multiple reasoning paths simultaneously, evaluate each branch, and backtrack when a path leads to a dead end.
Tree of ThoughtsReasoningProblem Solving
4.1
Reasoning
Chain-of-Thought — let the model reason step by step
Ask the AI to think out loud and solve problems in steps to dramatically improve accuracy on reasoning tasks.
ReasoningProblem SolvingMath
4.8
Prompting
Persona Prompting — get consistent, expert-toned answers
Give the AI a role, audience and constraints so every answer comes back in a consistent, professional voice.
PromptingWritingchatgpt
4.7