Zero-Shot Prompting
Asking an AI to perform a task without providing any examples. Relies entirely on the model's pre-trained knowledge. Works well for common tasks.
Why it matters
Zero-shot is how most people already use AI without knowing the name: just ask, no examples. It matters because it's fast and works surprisingly well for common tasks, and it tells you when you can skip the extra effort of building examples. Recognizing its limits also signals when a task is tricky enough that you should switch to giving examples instead.
A concrete example
Type "Classify this review as positive, negative, or neutral: 'The food was great but service was slow.'" and the AI answers correctly with zero examples provided. For everyday jobs like this, that's all you need. But if you want it to match a very specific format or judgment call, zero-shot may drift, and that's your cue to show it a couple of examples first.
How to use it
Start here, because it is free to try and often enough. Zero-shot works well for tasks the model has seen countless variations of: summarise this, translate that, explain this simply, classify this into obvious categories. If the output is nearly right but formatted wrong or pitched at the wrong level, that is the signal to add an example rather than to keep rewording the instruction.
The common mistake
Persisting with zero-shot on a task with a specific house style or an unusual output format. Two examples of what you want will fix in seconds what a paragraph of description cannot, because showing a format is far more precise than describing it.
Related terms
Few-Shot Prompting
Providing 2-5 examples of desired input-output pairs in your prompt before asking the AI to perform the task. Significantly improves output quality for specialized tasks.
Prompt Engineering
The skill of crafting effective AI prompts to achieve desired outputs. Techniques include role-setting, few-shot examples, chain-of-thought reasoning, and constraint specification.
Structured Output
AI model responses formatted in a specific schema like JSON, XML, or tables rather than free-form text. Essential for integrating AI into software pipelines where downstream systems need predictable, parseable data formats.
A/B Testing (for Prompts)
Running two or more prompt variations against the same AI model to compare output quality. Data-driven prompt optimization that consistently outperforms intuition-based prompting.
Chain-of-Thought (CoT)
A prompting technique that instructs the AI to reason step-by-step before giving a final answer. Dramatically improves accuracy on complex reasoning, math, and logic tasks.
System Prompt
A special instruction set given to an AI model before the user's message, defining the model's persona, behavior rules, output format, and constraints. The foundation of custom AI assistants and chatbots.