Skip to main content
AI Glossary

Zero-Shot and Few-Shot

Getting a model to do a task with no examples, or with a handful, in the prompt.

Zero-shot asks the model to perform a task from instructions alone; few-shot includes a small number of worked examples to steer format and quality. Both avoid the cost of fine-tuning for many tasks.

Zero-Shot and Few-Shot in practice

Few-shot prompting is often the quickest way to get consistent output from a business assistant: include two or three examples of the exact format you want — a case note, a product description, a reply to a complaint — and quality and consistency improve markedly without any model training.

Guides that cover this

Prompt engineering for business

Related terms

Prompt Engineering
Systematically designing, testing and versioning the instructions given to a model.
Fine-tuning
Further training a model on your examples to change its style or behaviour.
LLM (Large Language Model)
A model trained on large volumes of text that predicts and generates language.
Context Window
The maximum amount of text a model can consider at once, measured in tokens.
RAG (Retrieval-Augmented Generation)
Grounding a model's answers in your own documents retrieved at query time.

Ready to Build Something Intelligent?

Book a free, no-obligation consultation with a senior AI consultant. You'll leave with a clear view of your best opportunities — whether or not you work with us.