Inference and generation

One-shot prompting

stable definition

Definition

One-shot prompting supplies one example of the desired input-output behavior in the prompt.

Distinguish it from nearby terms

Zero-shot supplies none; few-shot supplies several; none of these necessarily update model weights.

Check your understanding

Explain what the single example teaches and what it cannot establish about edge cases.