Few-Shot Prompt

Pair lines into Input/Output examples.

Takes alternating lines as Input/Output few-shot examples. Unlike Chat Messages JSON this uses Example blocks, not role JSON. Needs at least two lines. Local only.

What Few-Shot Prompt does

Takes alternating lines as Input/Output few-shot examples. Unlike Chat Messages JSON this uses Example blocks, not role JSON. Needs at least two lines. Local only.

Few-Shot Prompt sits in the AI group on purpose. It is not Chat Messages JSON (Lines to OpenAI-style messages JSON.) and not Prompt Wrap User (Prefix text as a User message.). Choose this page when you need Pair lines into Input/Output examples. If you stretch Few-Shot Prompt into a neighbor’s job, the result will look wrong even though the site chrome looks the same.

How to use Few-Shot Prompt

  1. Keep this tab on Few-Shot Prompt (/ai/few-shot-prompt). Pasting into the wrong AI tool (for example Chat Messages JSON) changes the job.
  2. Paste or type the input Few-Shot Prompt expects. Path hint: ai · few shot prompt. Pair lines into Input/Output examples.
  3. Apply the Few-Shot Prompt action only. Prompt Wrap User is a different transform (Prefix text as a User message.). Takes alternating lines as Input/Output few-shot examples. Unlike Chat Messages JSON this uses Example blocks, not role JSON. Needs at least two lines. Local only.
  4. Copy the output of Few-Shot Prompt if you need it elsewhere. Size/complexity still follows: Even pairs of lines. Local transform.
  5. If the text job is actually Lines to OpenAI-style messages JSON., leave Few-Shot Prompt and open Chat Messages JSON.

When not to use Few-Shot Prompt

Skip Few-Shot Prompt when a neighbor tool matches better — start with Chat Messages JSON or Prompt Wrap User — or when the description already warns the job will fail. In the tool’s own words: Takes alternating lines as Input/Output few-shot examples. Unlike Chat Messages JSON this uses Example blocks, not role JSON. Needs at least two lines. Local only.

Questions about Few-Shot Prompt

What does Few-Shot Prompt do that other AI pages on this site do not?
Takes alternating lines as Input/Output few-shot examples. Unlike Chat Messages JSON this uses Example blocks, not role JSON. Needs at least two lines. Local only. Short version: Pair lines into Input/Output examples.
Does Few-Shot Prompt upload my file or text to Tool-You servers?
No. Few-Shot Prompt runs in this browser tab. Files stay on the device. Limit note: Even pairs of lines. Local transform.
Should I use Chat Messages JSON instead of Few-Shot Prompt?
Use Few-Shot Prompt when you need Pair lines into Input/Output examples. Use Chat Messages JSON when you need Lines to OpenAI-style messages JSON. They share a category (AI) but not the same job.
What are the limits of Few-Shot Prompt?
Even pairs of lines. Local transform. Also: Takes alternating lines as Input/Output few-shot examples. Unlike Chat Messages JSON this uses Example blocks, not role JSON. Needs at least two lines. Local only.