GLOSSARY

Zero-Shot Prompting

DEFINITION

A prompting approach in which a language model is asked to complete a task without any task-specific examples in the prompt, relying entirely on knowledge from pre-training.

Zero-shot prompting asks a model to perform a task based only on a natural language description, without any examples of the desired input-output format. It works because large language models develop broad capabilities during pre-training that transfer to novel tasks through instruction following.

For example: "Classify the sentiment of the following review as positive, negative, or neutral: 'The product arrived late but worked perfectly.'" — this is zero-shot because no example classifications are provided. Modern frontier models handle zero-shot instructions remarkably well across a wide range of tasks.

Zero-shot prompting is the fastest approach to prototype AI applications. When it does not produce reliable results, the next step is few-shot prompting (adding examples) or fine-tuning (training the model on task-specific data). The choice between these depends on performance requirements, data availability, and acceptable latency.

Related Terms

Stay in the loop

Weekly AI tool reviews, news digests, and how-to guides.

Join 12,000+ builders