Prompt Engineering Guide
😃 Basics
💼 Applications
🧙‍♂️ Intermediate
🧠 Advanced
Special Topics
🌱 New Techniques
🤖 Agents
⚖️ Reliability
🖼️ Image Prompting
🔓 Prompt Hacking
🔨 Tooling
💪 Prompt Tuning
🗂️ RAG
🎲 Miscellaneous
Models
📝 Language Models
Resources
📙 Vocabulary Resource
📚 Bibliography
📦 Prompted Products
🛸 Additional Resources
🔥 Hot Topics
✨ Credits

Definition of Chain-of-Thought (CoT) Prompting

[Chain-of-Thought Prompting](/docs/intermediate/chain_of_thought)(@wei2022chain) is a Few-Shot prompting technique in which the user feeds the LLM a prompt that demands a thought process before giving the final answer. Usually, an example of the thought process is given before asking for an answer (hence the Few-Shot nature of the prompt). A common example is: ```text Q: Jack has two baskets, each containing three balls. How many balls does Jack have in total? A: One basket contains 3 balls, so two baskets contain 3 * 2 = 6 balls. Q: [the question for inference] A: ```

For more definitions, view the full list.

Edit this page
Word count: 0

Get AI Certified by Learn Prompting


Copyright © 2024 Learn Prompting.