← Back to Dictionary

Few-Shot

Podcast 1 · Introduction

Few-Shot /fjuː ʃɒt/ · adjective

A short documentary narration — meaning, origin, and how the word is used.

In this course, few shot describes a prompting technique where the model is given a small number of examples of the task before the real request, so it learns the pattern from the few samples and applies it to the new input. The related entry for final answer gives a related word, and the Cambridge definition of few-shot and the Merriam-Webster entry for few-shot give the main sense. For more background, see the encyclopaedia article on few-shot.

Ready
Podcast 2 · Daily Use

In Conversation

Two British speakers using "few-shot" naturally in everyday talk.

Ready
Podcast 3 · Prompt Engineering

Prompting with "few-shot"

An instructor and developer explore real, copy-ready AI prompts built around the word.

Ready
1 / 3

Transcript: “Few shot” vocabulary micro-course

Read along with the three podcasts, or open the full dictionary entry for Few shot for the definition, Arabic meaning, synonyms and example sentences.

Podcast 1 — Introduction & meaning

Narrator: Today's word is "Few-Shot" — adjective, pronounced /fjuː ʃɒt/, with the stress on "first".

Narrator: Today's word is "Few Shot" — adjective, pronounced /fjuː ʃɒt/, with the stress on "first".

Narrator: Few shot describes a prompting technique where the model is given a small number of examples of the task before the real request, so that it learns the pattern from the few samples and applies it to the new input.

Narrator: In plain English, it is teaching by the examples, like showing the apprentice three finished jobs before the fourth, so the few shot prompt includes the samples, and the model follows the pattern, which improves the output without any training.

Narrator: The word few comes from the Old English feawe, meaning not many, and shot from the Old English scot, meaning a shooting, so few shot is a few tries, which in the prompting means a few examples, and the term entered the machine learning with the learning research.

Narrator: A common collocation is a few shot prompt, which describes the prompt with the examples, and which is the standard use of the phrase.

Narrator: It differs from the zero shot, which has no examples, because few shot shows the pattern, so it is about the guidance, not the hope, which is why it improves the consistency, since the point is the shape.

Narrator: A second collocation is few shot examples, which describes the samples included, and which is a common phrase in the prompting.

Narrator: Prompt engineering, machine learning, and any AI work all rely on the few shot technique for the better outputs.

Narrator: So remember: few shot is teaching by the examples, and its value is that the model follows the shown pattern without any training, but the examples must be representative, since the wrong samples teach the wrong pattern, so choose them well, and the word is about the few, not the many.

Read podcasts 2 and 3

Podcast 2 — In conversation

Speaker A: The prompt has a few shot section. What does that mean?

Speaker B: FEW SHOT combines few, from the Old English feawe, meaning not many, with shot, from the Old English scot, meaning a shooting, so a few tries. The few shot section is the small number of examples of the task in the prompt, so the model sees the pattern and applies it to the new input, which improves the output without any training, since the examples teach the shape.

Speaker A: So more examples are better?

Speaker B: Not always. A few good examples teach the pattern, but too many crowd the context and can confuse, so three to five of the representative ones is the usual sweet spot, and the quality of the examples matters more than the count.

Speaker A: Example sentences?

Speaker B: "Use a few shot prompt." That means include the examples. "The few shot examples teach the format." That tells us the samples show the shape. "Few shot beats zero shot here." That shows the examples helped.

Speaker A: Common mistakes?

Speaker B: A common one is including the inconsistent examples, since the mixed patterns confuse, so keep the format identical. Another is the irrelevant examples, which teach the wrong thing, so pick the representative ones for the task.

Speaker A: Close relatives?

Speaker B: A cousin is zero shot, which is no examples. A twin is one shot, which is a single example. An alternative is the in context learning, which is the mechanism — but few shot keeps its economical charm!

Podcast 3 — Prompt engineering

Speaker B: Let's use "Few-Shot" in AI prompts — useful for improving outputs in a writing app.

Speaker A: Let's use "few shot" in AI prompts — useful for building a formatting feature and for a consistency tool.

Speaker B: I am building a writing app. How do I use the few shot technique?

Prompt: Build a formatting feature that includes three examples of the desired output in the prompt, so the model follows the pattern. Let the team set the examples. Let the user see the output. Check that the feature works by running a request and confirming the output matches the example shape.

Speaker A: Build a formatting feature for a writing app that includes three examples of the desired output in the prompt, so the model follows the shown pattern for the new input. Let the team set the examples. Let the user see the output. Check that the feature works by setting three examples of a product description, running a new product, confirming the output follows the same shape as the examples, and that changing the examples changes the output shape.

Speaker B: How do I keep the examples consistent?

Prompt: Let the team review the examples for the identical format. Flag the inconsistent ones. Let the team update them. Test the outputs after the change. Check that the consistency works by reviewing and confirming the outputs improve.

Speaker A: Keep the examples consistent in my app few shot feature by letting the team review the examples for the identical format. Flag the inconsistent ones. Let the team update them. Test the outputs after the change. Check that the consistency works by reviewing three examples, fixing one with a different format, running five outputs, and confirming they all follow the single shape.

Speaker B: Our app has a classifier. How do I use the examples?

Prompt: Build a classifier feature that includes the few shot examples of each category, so the model sorts the new items. Let the team add the examples per category. Let the team see the accuracy. Check that the feature works by classifying and confirming the sort is right.

Speaker A: One more?

Speaker B: Build a classifier feature for my app that includes a few examples of each category in the prompt, so the model sorts the new items by the shown pattern. Let the team add three examples per category. Let the team see the accuracy on the test set. Check that the feature works by classifying ten items, confirming at least eight are sorted correctly, and that adding an example to a weak category improves it.

Prompt: One more?