# What is Few-Shot Example?

One or more examples inside a prompt that show the AI exactly what output format you want. More examples means more reliable results.

## In real work

Use a few-shot example. Format each item like this: Input: shadcn. Output: A copy-paste component library. Now do the same for: Radix UI.

## Related terms

- [System Prompt](https://prompthausapp.com/learn/system-prompt.md)
- [Zero-Shot](https://prompthausapp.com/learn/zero-shot.md)
- [Chain of Thought](https://prompthausapp.com/learn/chain-of-thought.md)
- [Persona](https://prompthausapp.com/learn/persona.md)
- [Constraint](https://prompthausapp.com/learn/constraint.md)

## How is this different from Googling it?

Google gives a definition. Prompthaus pairs each term with how it shows up in standups, PRs, prompts, and design reviews—then quizzes you until the word sticks. One term a day on iPhone.

- Category: Prompting
- HTML: https://prompthausapp.com/learn/few-shot-example
- App Store: https://apps.apple.com/us/app/prompthaus-ai-vocabulary/id6776314407
