LEXICON Open App →
HomeGlossary › few-shot prompting

few-shot prompting

🧠 CT-GenAI

Official ISTQB Definition

A prompting technique where the model is provided with a few examples to guide its response generation.

3 Ways to Think About It

💡
The Quick Take

Including a few examples in your prompt to show the LLM what you want - improves consistency.

🔍
Look Closer

Teaching by example within the prompt - helps testers get more reliable AI outputs.

🎯
The Bottom Line

Providing sample inputs and outputs so the AI understands the expected format and behavior.

Practice this term with quizzes and arcade games

Study with Lexicon →
← feature-driven developmentAll Termsfield testing →