- All Courses
- Building AI Apps with LLMs
- Prompting That Holds Up
- Few-shot examples
Few-shot examples
Examples communicate format and edge-case handling far better than description. Two well-chosen ones usually beat a paragraph of instructions.
- 5m
- Intermediate

Video by Grow with Google · YouTube
Check your understanding
3 questions. Unlocks when you finish the video.
Overview
What this lesson covers
- Show the format instead of describing it
- Choose examples that cover the tricky cases
- Watch for examples that bias the output
This lesson sits in Prompting That Holds Up, part of Building AI Apps with LLMs. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Show the format instead of describing it
- Choose examples that cover the tricky cases
- Watch for examples that bias the output
Resources
Your notes will live here
Note taking is not available yet. Nothing you type would be saved, so the tab stays read-only for now.