Databricks Certified Generative AI Engineer Associate — Question 63

A Generative AI Engineer interfaces with an LLM with instruction-following capabilities trained on customer calls inquiring about product availability. The LLM should output “Success” if the product is available or “Fail” if not.

Which prompt allows the engineer to receive call classification labels correctly?

Answer options

Correct answer: B

Explanation

Option B is correct because it directly instructs the LLM to classify the call based on product availability, aligning perfectly with the required output. Option A is less focused and may lead to ambiguity in the classification process, while Option C incorrectly formats the output and introduces unnecessary complexity. Option D does not specifically address the product availability question, which is crucial for accurate labeling.