AI CompendiumA public chart of the language
Prompting & Structure

Zero-shot

Just ask, with no examples.

Definition

Prompting with only an instruction and no worked examples, relying on the model’s general training. Works well for common tasks; degrades on unusual formats or domain-specific conventions.

Try zero-shot first. If it fails, that is information: either the task is unusual to the model, or your instruction is ambiguous. Add examples to disambiguate, not as a first resort.

Zero-shot works well enough on common tasks that it should always be the first attempt, and its failures are informative in a specific way. If a model cannot do a simple task zero-shot but succeeds with two examples, the instruction was probably ambiguous rather than the model incapable — which is a prompt bug you can fix in a minute.

How people use it
Prototyping a classifier.
"Zero-shot it first. If accuracy is close, we ship without maintaining an example set."
Worked example

The baseline that saves the example set

Classifying support tickets into eight categories.

Modern models are good at this with just category names and definitions, and maintaining an example set has a real ongoing cost as the taxonomy evolves. Establish the zero-shot number before committing to curate examples.

Sources
Related terms