In Depth
In practice, few-shot prompting means providing 2–10 input/output examples in the system or user prompt before asking the model to handle a new case. The model generalizes from these examples by leveraging patterns learned during pre-training. GPT-3's strong few-shot performance without fine-tuning demonstrated that scale could unlock in-context learning as a new AI paradigm.