Aurora AITell us your case

Offering

ServicesProductsCase studies

For whom

Private EquityEnterpriseSMB
ServicesProductsCase studiesAboutBlogContact

Knowledge base

Start hereWikiGlossaryGuides

AI Glossary

Few-shot (learning from a few examples)

few-shot learning, learning from a few examples, few shot

Few-shot is a technique in which you show the model a few examples of correct answers inside the prompt itself, steering its behavior without any training. It works within a single request.

Few-shot answers the situation where a description of the task alone is not enough and the model misses the expected format or style. Instead of fine-tuning the model, you add a few examples of input-output pairs to the prompt, and the model recognizes the pattern and continues it in its own answer.

The technique is cheaper and faster than fine-tuning, because it does not change the model's weights and works straight away. But it has a limit: the examples take up room in the context window, so you include only as many as actually improve the result.

Related terms

In guides