Skip to content
Let’s Talk

Few-shot

Few-shot means giving an AI model a small number of examples of a task, usually inside the prompt, so that it follows the pattern.

Two or three good examples often fix the format and tone of the output better than a long instruction.

The examples steer the result, so they need to be correct and varied. A model copies a mistake in an example as readily as the format.

Also called
few-shot learning, few-shot prompting
How you’ll hear it
“A few-shot prompt with three sample summaries made the weekly reports consistent.”
Often confused with
Fine-tuning, which retrains the model on many examples. Few-shot examples sit in the prompt and change nothing in the model.
A question to ask
Are the examples in the prompt correct, current and varied?
Related terms
Read more
Sources

The example is fictional. This is general guidance, not advice for your situation.