Designing prompts · Question 11 of 12
A model should classify support tickets as "hardware", "software" or "account" but often returns whole sentences. Which changes help?
2 answers are correct. Hard Created with AI
Show answer
Answer
- C Showing a few examples with a ticket and exactly one label
- D Requiring in the prompt to output only one of the three words
Explanation
A clear format requirement and few-shot examples with exactly one label steer the model to the desired output. A low temperature or a JSON schema with fixed values also helps. Without a list of categories, the model invents its own.