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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications