Few-Shot & Chain-of-Thought Vocabulary

Few-shot learning, in-context learning (ICL), chain-of-thought (CoT) prompting, zero-shot CoT, self-consistency, Tree of Thoughts, and ReAct prompting.

Key vocabulary

  • Few-shot learning — providing the model with a small number of input-output examples within the prompt to guide its response format and reasoning.
  • In-context learning (ICL) — the model's ability to learn a task from examples provided in the prompt without updating weights.
  • Chain-of-thought (CoT) prompting — prompting the model to reason through intermediate steps before giving a final answer.
  • Zero-shot CoT — triggering step-by-step reasoning without examples, typically by adding "Let's think step by step."
  • Self-consistency — sampling multiple reasoning chains and selecting the most common answer to improve reliability.
0 / 5 completed
1 / 5
A prompt engineer says "we use few-shot examples in the prompt." What does this mean?