AI IQ™
AI Glossary

Few-Shot Prompting

Including a few worked examples in a prompt to show the model what you want.

Large language models can pick up a task from examples placed directly in the prompt, an ability called in-context learning. No retraining is needed.

Zero-shot means no examples, one-shot means one, and few-shot means a handful. Examples are especially useful for teaching a specific format, tone or labeling scheme.

💡 Example: Giving three example product reviews labeled positive or negative, then asking the model to label a fourth.

Related terms

Think you know your AI terms? 🤓

Take the Medium quiz Back to glossary

Ce AI IQ™ ai tu?

Rezolvă quizul gratuit cu 10 întrebări, vezi scorul și rangul în câteva minute și provoacă un prieten să te întreacă.