Inference and generation

Few-shot prompting

stable definition

Definition

Few-shot prompting supplies several examples in the current context to demonstrate a task, format, or decision boundary.

Distinguish it from nearby terms

Fine-tuning updates parameters across training examples; few-shot prompting conditions one inference request without weight updates.

Check your understanding

Choose examples that cover boundaries and explain how order or imbalance might bias the result.