Few-Shot and Zero-Shot Prompting

Few-shot and zero-shot prompting describe how many examples you give an AI model in a request so that it completes a task correctly. With zero-shot prompting the model receives only the task description and no example; with few-shot prompting it is given several concrete examples of the desired answer format to make the pattern, tone or structure clear.

In practice

In practice, few-shot prompting often produces more consistent results than zero-shot, for instance when a particular text format such as product descriptions in your own brand wording is needed, though at the cost of a longer prompt and therefore higher token use. Zero-shot works well for simple, general tasks that modern LLMs handle reliably without examples. For content teams, adding just two or three well-chosen examples to a prompt is often enough to bring the style and structure of the AI output into line with the brand's own communication.

Matching service

Sources

← Back to the glossary