Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Zero-shot prompting

In plain words

Asking the model to do a task without showing it any examples first.

The fuller definition

Zero-shot prompting asks a model to perform a task without supplying task demonstrations in that prompt.

How it fits together
  1. Instruction

    Define categories

  2. Input

    Unseen document

  3. Output

    Classify without examples

A simplified relationship, not a screenshot or a complete design.

A concrete example

Ask for a document classification using named categories but no completed example rows.

The distinction that matters

Zero-shot does not mean the model has never encountered related patterns during training.

Related terms

Where it is taught

Give AI a brief it can actually follow

Source and further reading

Anthropic · Context engineering

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC