AI GLOSSARY

Few-Shot Examples

Examples in the prompt guide this response, not the model's permanent weights.

Simple explanation

Few-shot examples show the model what a good transformation looks like within the current request. They are especially useful when the output format or decision rule is subtle.

Technical explanation

Few-shot examples show the model what a good transformation looks like within the current request. They are especially useful when the output format or decision rule is subtle.

Example

Demonstration tokens establish a pattern before the new input arrives.

Related lesson

Few-Shot Examples: visual lesson →

Browse all glossary terms →