Glossary · Prompt Engineering
What is Few-Shot Prompting?
Giving a model a few input-output examples before the real input so it copies the pattern.
In more detail
Best when you need a specific format, style or set of labels. Two to five varied examples are usually enough.
Example
Showing two revision notes with memory tricks, then asking for a third.
Learn it properlyZero-Shot vs Few-Shot Prompting: Teaching AI with Examples9 min lesson · Prompt Engineering