🔥 3-day streak
Claude Certified Associate (Foundations)12 / 150
Question 12 of 150
A developer is building a feature that asks Claude to classify support tickets and return only a single category word (e.g., 'Billing'). They notice Claude sometimes prepends conversational text like 'Sure, the category is...' before the answer. Using only the Messages API structure, what is an effective technique to make Claude begin its response with the category directly?
Reviewed for accuracy · Report an issueNext question