← Glossary

Few-shot Prompting

Technique

Definition

Providing the model with a small number of input-output examples (shots) in the prompt before asking it to complete a new example. Helps the model understand the desired format, style, or task without fine-tuning.