Few-Shot Prompting — AI Glossary

Few-shot prompting is a technique where you provide the AI model with a small number of examples (typically 2-5) within the prompt to demonstrate the desired format, style, or reasoning pattern. The model uses these examples as reference points to generate responses that follow the same pattern, without requiring any fine-tuning.