Core prompting techniques
**Prompt.** The full input text you send a model — instructions, context, and any data — that conditions its output.
**Prompt engineering.** The practice of designing and refining prompts to get reliable, useful outputs. See the DAIR.ai guide.
**Zero-shot prompting.** Asking the model to do a task with no worked examples, relying only on instructions and its pretraining.
**Few-shot prompting.** Including one or more input/output examples in the prompt to steer format and behavior. Popularized by Brown et al. 2020 (arXiv:2005.14165).
**One-shot prompting.** Few-shot with exactly one example.
**In-context learning.** A model adapting to a task from examples shown in the prompt, without any weight updates — the mechanism behind few-shot prompting.
**Chain-of-Thought (CoT).** Prompting the model to reason through intermediate steps before answering, which improves performance on multi-step problems. Introduced by Wei et al. 2022 (arXiv:2201.11903).
**Zero-shot CoT.** Eliciting step-by-step reasoning without examples, often by adding a cue like 'Let's think step by step.'
**Self-consistency.** Sampling several reasoning paths and taking the most common answer, rather than trusting a single chain.
**Self-critique / reflection.** Having the model review and revise its own output to catch errors before finalizing.