intermediateChapter 6 of 12Exercise 2 of 2
Exact Classification Formatting
Refine the output of the email classifier so the answer is wrapped in <answer> tags containing only the letter. For example: <answer>B</answer>.
Your Task
Modify your email classification prompt so Claude wraps JUST the letter of the correct classification in <answer></answer> tags. The grading checks for exact strings like <answer>B</answer>.
Success Criteria
The prompt must produce output containing <answer>X</answer> where X is the correct letter. No other content inside the answer tags.
Recommended Background
Review Formatting Output & Speaking for Claude before attempting this exercise for the best experience.
Cmd/Ctrl + Enter to submit