LLMs GuruLLMsGuru
Find your AI
AI ModelsAI ToolsLearnGlossaryAI NewsFree ToolsFind your AISpeakRightAstrology
Explore All Tools
← The AI Dictionary
Plain-English definition

Few-Shot

In one breath

Showing a model a handful of examples in your request so it picks up the pattern. Often the easiest way to get exactly the format you want.

In more detail

Few-shot means showing a model a handful of examples inside your request so it picks up the pattern — two or three demonstrations of input and desired output, followed by your real case. The model then imitates the format and style it has just seen.

It matters because it’s the easiest fix when instructions alone aren’t landing. Describing a format in words is hard; showing it is easy. Sitting between zero-shot (no examples) and fine-tuning (permanent training), few-shot is the sweet spot you can use in any chat window, right now.

📌 See it in action

You want product names turned into taglines, so you show two samples: ‘CloudNine mattress → Sleep like the sky is holding you.’ ‘IronGrip gloves → Hold on to what matters.’ Then you write: ‘SwiftKettle →’. The model returns a tagline in exactly that voice — the pattern learned from just two examples.

Goes with
Zero-ShotChain of ThoughtFine-Tuning

Now put the vocabulary to work.

Meet the models →Which AI is mine?