A technique where models learn to perform tasks from just a few examples provided in the prompt, without additional training.
Few-shot learning enables AI models to adapt to new tasks by seeing just a handful of examples in the prompt. Instead of requiring thousands of training examples, modern LLMs can learn patterns from 2-5 demonstrations.
How few-shot learning works:
The term comes from the number of examples:
Few-shot learning is powerful because:
Research shows that quality of examples matters more than quantity - well-chosen, diverse examples outperform many similar ones.
Few-shot learning lets you customise AI behaviour instantly by showing examples, avoiding the time and cost of model training.
Few-shot prompting is our go-to technique for rapid prototyping with Australian business clients. We can demonstrate AI capabilities within hours using carefully crafted examples.
"Including 3 example customer support responses in your prompt to guide the AI's tone, format, and content approach."