#few-shot#examples#format control

Few-Shot Pattern Prompt

Independent PiSkill directory guide. The original prompt remains hosted by Anthropic Courses.

What does this prompt do?

Uses representative input-and-output examples to teach the model a task pattern and desired response style.

Primary use case

Demonstrate a classification or transformation task through examples.

Expected output

A result following the demonstrated pattern.

Inputs or variables

  • examples
  • new input

Related prompts

← Back to Prompt Directory