Few-shot prompting means including more than one example in your prompt to show the model how it should respond. Google’s glossary illustrates it with a prompt that asks for a country’s currency and first shows two solved examples, such as France: EUR and United Kingdom: GBP. The examples set the format and style of the answer. It is useful when you need consistent outputs, for example product descriptions with the same structure or data extracted into the same fields. When the prompt has no examples at all, it is called zero-shot prompting.
Source: developers.google.com/machine-learning/glossary (checked 2026-11-26).