intermediateChapter 7 of 12Exercise 1 of 1

Few-Shot Email Classification

Redo the email classification exercise, but this time use few-shot examples to demonstrate the desired input/output pattern.

Your Task

Write a prompt for email classification (categories A-D) that includes 2-3 few-shot examples showing the exact format you want. The last character of Claude's output should be the category letter.

Success Criteria

Prompt must include few-shot examples in <example> tags demonstrating the classification pattern. The output format must be consistent with the examples.

Recommended Background

Review Precognition (Thinking Step by Step) before attempting this exercise for the best experience.

Cmd/Ctrl + Enter to submit