Companion videos

Few-shot prompting: teach AI by example — companion videos

The article makes the case that two or three worked examples in your prompt do more than any amount of clever wording. These videos show that pattern in action — first a structured course chapter that names the technique and contrasts it with zero-shot, then an Anthropic walkthrough where you watch examples being added to a real prompt.

Primary pick

41:36
Prompt Engineering Tutorial – Master ChatGPT and LLM Responses

freeCodeCamp.org

Skip to the "Zero shot and few shot prompts" chapter at 31:20 for a clean, demoed comparison of the same task with no examples versus a few — exactly the contrast the article builds the chapter around. The earlier sections on prompt mindset and best practices are useful background if you've come straight from the article without the wider context.

What you should get from this: See how examples change model behavior and learn when few-shot prompting is worth the extra setup.

Watch or know first: Basic prompt-writing comfort — nothing beyond the article.

AI Expert note: You don't need the full 41 minutes: the zero-shot vs few-shot chapter at 31:20 is the part that pairs with the article; the earlier sections are optional background.

Open video page

Also worth watching

24:52
Prompting 101 | Code w/ Claude

Anthropic

Examples are one of the ten ingredients Anthropic walks through here, and you can watch them get added to a real customer prompt and change the model's output. Useful if you want to see few-shot used inside a fuller prompt rather than as an isolated trick.

What you should get from this: You will be able to place examples inside a fuller prompt structure and anticipate how they change what the model produces.

Watch or know first: Know the basic prompt structure from the article first — examples are one layer among several here.

AI Expert note: Included so you can see few-shot working inside a full prompt rather than as an isolated trick; watch for how the output changes when the examples land.

Open video page