FREE PRACTICAL AI LEARNING · LEARN BY DOINGNO SIGNUP NEEDED · YOUR WORK STAYS YOURS
Open PracticePRACTICAL AI ENGINEERING
AI GLOSSARY · PROMPTING

Few-shot prompting

Including a few worked examples in the prompt so the model copies the pattern.

Example

Showing three labelled reviews before asking it to label a fourth.

Learn it by doing

Reading a definition is a start; using the idea makes it stick.

Try it in practice →

Related terms

← All AI terms