Search Agentik

CtrlK

Glossary · Prompting & context

Few-shot prompting

Few-shot prompting is including a small number of worked examples of inputs and desired outputs in a prompt so the model can infer the pattern, format or style to follow for a new input.

Few-shot prompting sits in the Prompting & context part of the Agentik {OS} glossary, which defines the words used to build and run AI agent systems.

Also called few-shot, few-shot examples, exemplars.