Artificial Intelligence

Zero-Shot Prompting

Giving an LLM a task instruction without any examples, relying entirely on the model's pre-trained knowledge and instruction-following ability to perform the task.

Why It Matters

Zero-shot prompting is the simplest approach and the default starting point. If it works well enough, there is no need for more complex techniques.

Example

Simply asking 'Classify this review as positive or negative: The food was amazing but the service was terrible.' — no examples, just the instruction.

Think of it like...

Like asking a knowledgeable person a question without any preamble — if they know the topic well, they can answer correctly without examples.

Related Terms