Skip to content
Learn The AI Glossary

Few-shot Learning

Guiding a model on a new task by giving it a few examples inside the prompt.

1 min read Tools Business

In plain English

Few-shot learning means steering a model towards a new task by including a small number of worked examples directly in the prompt, rather than retraining it. The examples show the model the pattern you want, such as the format, tone, or style of answer, and it continues that pattern. It works because the model adapts to context at the moment of use, with no change to its underlying weights.

Why it matters

Few-shot prompting is a fast, cheap way to get reliable, consistent output without the cost and effort of fine-tuning, which makes it a core everyday technique.

A worked example

To classify support tickets, you show the model two or three tickets each already labelled 'urgent' or 'routine', then ask it to label the next one the same way.

Common confusion

Few-shot examples do not permanently teach the model. They only shape its behaviour for that prompt; start a fresh conversation and the lesson is gone.

— RELATED ENTRIES —

Terms worth knowing next.

— STILL CURIOUS? —

Definitions are just the start.
go deeper.

Quick Answers tackle the questions everyone's actually asking — for parents, teachers, business owners, and the merely curious.

Browse Quick Answers
— OR — Back to A–Z Learn hub