Two techniques that dramatically improve AI response quality — especially for complex tasks where simple prompts lead to superficial results.
📖 Definition: With Chain-of-Thought Prompting, you ask the AI to think step by step instead of giving a direct answer. This significantly improves quality for reasoning tasks.
Without CoT:
"Should we invest in a CRM with AI integration?" → "Yes, AI CRMs offer many benefits like automation and better insights." (superficial)
With CoT:
"Should we invest in a CRM with AI integration? Think step by step:
- Analyze our current situation (50 employees, B2B, currently Excel)
- Evaluate the options (Salesforce AI, HubSpot AI, Pipedrive)
- Compare costs vs. benefits for 12 months
- Give a reasoned recommendation" → Structured 4-step analysis with justified recommendation
When to use CoT:
When NOT to use CoT:
💡 Tip: A simple CoT trigger: append "Think step by step" to your prompt. Even that alone noticeably improves results for complex tasks.
📖 Definition: With Few-Shot Prompting, you give the AI examples of the desired output. The model learns style, format, and quality level from them.
Create product descriptions in the following style:
Example 1:
Product: Running Shoe X1
→ "The X1 combines cushioning and stability for ambitious
runners. Mesh upper for breathability, reactive sole
for explosive push-off power."
Example 2:
Product: Hiking Boot T3
→ "The T3 offers grip and comfort on any terrain.
Waterproof membrane for any weather, reinforced toe cap
for demanding trails."
Now create for:
Product: Business Sneaker M5
Target audience: Commuters who want to combine comfort and style
When to use Few-Shot:
Tree-of-Thought goes beyond linear CoT: the AI explores multiple thinking paths in parallel, evaluates them, and selects the best one.
Analyze whether we should launch a new product.
Explore three different perspectives:
Path 1: Market opportunity (demand, competition, timing)
Path 2: Internal capacity (team, budget, technology)
Path 3: Risk (cannibalization, reputation risk, costs)
Evaluate each path individually, then give an overall
recommendation that considers all three perspectives.
🔑 Remember: Tree-of-Thought is ideal for strategic decisions where multiple factors need to be weighed against each other.
| Technique | Strength | Effort | Best For |
|---|---|---|---|
| Zero-Shot | Fast, spontaneous | ⭐ Low | Simple tasks, brainstorming |
| Few-Shot | Consistent, formatted | ⭐⭐ Medium | Recurring outputs with fixed style |
| Chain-of-Thought | Thorough, logical | ⭐⭐ Medium | Analyses, calculations, decisions |
| Tree-of-Thought | Holistic, multi-perspective | ⭐⭐⭐ High | Strategic decisions |
| CoT + Few-Shot | Best overall quality | ⭐⭐⭐ High | Critical tasks with high quality demands |
🏢 Real-world example: A legal department uses CoT + Few-Shot for contract analysis: Few-Shot examples define the analysis format, CoT ensures thorough review of each clause. Result: Analysis time reduced from 2 hours to 15 minutes.
🎯 Exercise: Take a complex question from your work and formulate three versions: Zero-Shot, with CoT, and with CoT + Few-Shot. Compare the results.
Next lesson: Prompts for Marketing and Content — proven templates for immediate use.
Was bewirkt Chain-of-Thought Prompting?