📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials Prompt Engineering Advanced Prompting Techniques

Advanced Prompting Techniques

5 min read
Seven advanced prompting techniques: self-consistency, Tree of Thoughts, critique-refine, and step-back.

Advanced Prompting Techniques

# 1. Self-consistency (majority vote)
# Run same prompt 5x, return most common answer
# Best for math, logic, factual questions

# 2. Tree of Thoughts (ToT)
'Explore 3 different approaches to this problem.
 Rate each approach 1-10.
 Solve fully using the highest-rated approach.'

# 3. Critique and Refine
'Step 1: Write a first draft of [deliverable]
 Step 2: List 3 weaknesses in your draft
 Step 3: Rewrite addressing all weaknesses'

# 4. Persona switching
'First answer as an optimist, then as a pessimist,
 then synthesise a balanced view.'

# 5. Analogical prompting
'Use an analogy to explain [complex topic] to [audience].
 The analogy should relate to [familiar domain].'

# 6. Contrastive prompting
'Show a WRONG approach first and explain why it fails,
 then show the CORRECT approach and explain why it works.'

# 7. Step-back prompting
'Before answering, identify the core principle or concept
 this question is really about. Then use that to answer.'