1-Shot Prompting

Also known as: One-shot prompting

Quick definition

Providing exactly one worked example in a model prompt before the requested task.

Providing exactly one worked example in a model prompt before the requested task.

Example: An extraction prompt shows one labeled invoice before a new invoice.

Where it is useful: AI assistants, content generation, prompt workflows, and language-model applications.

Examples

  • An extraction prompt shows one labeled invoice before a new invoice.

Use cases

  • AI assistants, content generation, prompt workflows, and language-model applications.

Frequently asked questions

What is 1-Shot Prompting?

Providing exactly one worked example in a model prompt before the requested task.

Can you give an example of 1-Shot Prompting?

An extraction prompt shows one labeled invoice before a new invoice.

Categories and tags