Skip to content

One-Shot Prompting

A request to the model where a single example of its solution is provided before the task. An intermediate option between zero-shot (without examples) and few-shot (several examples).

Example

Translate:
"cat" → "gato"

Now translate: "dog"

When Useful

When zero-shot description is insufficient and gathering many examples is too tedious. One example sets the format and expectations.

See Also

← All Terms