Deployment and Orchestration of ML and AI Workflows
A CI pipeline rejects valid answers from a generative AI assistant because they differ in wording from reference answers. Which testing change best measures answer quality while allowing valid paraphrases?
Show the answer
Correct answerB. Evaluate responses against a semantic correctness rubric.
AWhy not this: Hash comparison requires identical output and would continue rejecting valid paraphrases.
BWhy this is right: A semantic rubric assesses meaning and required facts while allowing different valid wording.
CWhy not this: Similar response lengths do not establish that answers convey the correct meaning.
DWhy not this: Keyword presence does not reliably distinguish valid paraphrases from answers that misuse the expected terms.
A semantic correctness rubric evaluates whether an answer conveys the required meaning rather than matching exact wording. Keyword checks can accept incorrect answers that contain expected terms and reject valid paraphrases that do not.