← Glossary

Few-Shot Prompting

Including examples of the input/output pattern you want in a prompt, to guide behaviour without retraining. Two or three diverse, canonical examples typically outperform many similar ones.

Read more in the full explainer.