Text analysis app · Question 3 of 12
An app should classify customer reviews as positive, neutral or negative with a prompt to a deployed chat model. What belongs in the prompt?
1 answer is correct. Easy Created with AI
Show answer
Answer
- D The allowed categories and the expected output format
Explanation
A classification prompt names the permitted categories and a fixed format, such as a single word or JSON. This lets the code process the response reliably. Keys never belong in prompts.