Machine Don

What is few-shot?

Putting a few worked examples (2 to 5) in the request, each showing an ideal question and answer, so the model sees from the examples what you want.

Also called: few shot, few-shot prompting.

An analogy

Before the first shift, a manager shows the new hire how the veterans do it. Two or three examples, and they get the hang of it.

Where it shows up in the course

Related terms