---
title: "What are few-shot and zero-shot? Show examples rather than explain."
url: https://www.bonbay.fr/en/ia/comprendre-ia/lexique-ia/few-shot/
site: "Bonbay IA"
description: "Zero-shot: asking without examples. Few-shot: putting a few examples in the prompt to guide the AI. Definition, uses and how it differs from fine-tuning."
updated: 2026-11-13
---

# What are few-shot and zero-shot? Show examples rather than explain.

> Zero-shot means asking an AI model to perform a task without giving it an example, relying on what it already knows. Few-shot means including a few examples of the expected answer in the prompt, so that it follows their format and tone. Neither changes the model itself.

Three well-chosen examples in a prompt are often worth a long paragraph of explanation. That is the whole idea of few-shot.

## En bref

- **The model imitates the format** Two to five examples are usually enough to set a format, a length or a vocabulary. Examples that are too similar produce answers that are too similar as well.
- **A capability brought to light in 2020** OpenAI’s paper “Language Models are Few-Shot Learners”, which introduced GPT-3, showed that a large model can learn a task from a few examples, without further training.

## In practice in a business

To have product descriptions written in your house style, the instruction includes three descriptions already published, followed by the new product’s features. To sort incoming emails, it gives one example per category. These examples are stored in a shared prompt template, so the whole team gets the same result.

## Not to be confused with

Few-shot is not fine-tuning. The examples in the prompt only apply for the duration of the request and change nothing in the model, whereas fine-tuning modifies it permanently using hundreds or thousands of examples. One-shot refers to the case of a single example.

## Questions fréquentes

### Does few-shot always work better?

No. For a simple, common task, a clear instruction with no example is enough. Examples help mostly when the expected format is precise or specific to your business.

### Do examples use up tokens?

Yes, they are re-read with every request and count towards both the bill and the context window. Three short examples are better than ten long ones.

### Do you need real documents as examples?

Real documents give the best results, provided you remove personal and confidential data before sending them to an online tool.
