Remove an irrelevant pattern from examples

Read each example as a phrase before typing its label. · 175 words

For an email-routing prompt, source rules say: "book hold" means asking to reserve a title, "event signup" means asking to register for a program, and "general question" means asking for other help. A first draft begins every message with "Hello from Sam." The name has no role in routing. Because every labeled example contains it, the model may learn "Sam means a label" instead of reading the request. Remove that shared greeting from all examples.

Keep the source definitions and use revised examples: "I would like to place a hold on The Silent River" -> "book hold"; "Please register me for Saturday's local history talk" -> "event signup"; "Where can I find the return desk?" -> "general question." Then test with "Sam here: I want to place a hold on Atlas of Birds." The correct output is "book hold" because the request reserves a title, not because it contains Sam. Also test "Sam here: where is the cafe?" The expected label is "general question." If either result depends on the name, another accidental cue remains.

Check your recall

In the email-routing lesson, what should the prompt return for "Sam here: I want to place a hold on Atlas of Birds," and what should be removed from the original examples?

Check your answer

It should return "book hold" because the request reserves a title. Remove the repeated "Hello from Sam" greeting, which is unrelated to routing.

Sources and credits

Original KeyTouch lesson. Background reading · DAIR.AI · Few-Shot Prompting.