7-Shot Prompting

Quick definition

Providing seven examples of a task within the prompt before asking for a new result.

Providing seven examples of a task within the prompt before asking for a new result.

Example: A prompt lists seven field-extraction examples for an LLM.

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

Examples

  • A prompt lists seven field-extraction examples for an LLM.

Use cases

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

Frequently asked questions

What is 7-Shot Prompting?

Providing seven examples of a task within the prompt before asking for a new result.

Can you give an example of 7-Shot Prompting?

A prompt lists seven field-extraction examples for an LLM.

Categories and tags