Few-shot examples

A prompt engineering technique where a model is provided with a small number of input-output examples to demonstrate desired behavior before completing a new task. Enables generalization to unseen inputs by leveraging contextual patterns.

Relation to Context Engineering:

2026 04 14 Context engineering by prompt engineering channel

Source Notes