Few-shot prompting
Putting a few solved examples of a task in the prompt, then the new question, so that the model continues the pattern. With one example it is called one-shot; with only an instruction and no examples, zero-shot.
Introduced by
GPT-3, 2020
Used by
- Chain of thought, 2022
- ReAct, 2022
- LLaMA, 2023
- GPT-4, 2023