
Answer-first summary for fast verification
Answer: You will be given a customer call transcript where the customer asks about product availability. Classify the call as “Success” if the product is available and “Fail” if the product is unavailable.
The question requires a prompt that enables correct classification of customer calls about product availability into 'Success' (product available) or 'Fail' (product unavailable). Option B is optimal because it clearly specifies the classification task, defines the criteria for 'Success' and 'Fail' based on product availability, and provides unambiguous instructions without unnecessary complexity. Option C adds JSON formatting requirements which are not specified in the question and could introduce additional complexity or failure points. Option A includes unnecessary step-by-step reasoning instructions that aren't needed for simple classification. Option D introduces unrelated criteria about call resolution and redirection that don't align with the core requirement of classifying based solely on product availability. The community discussion shows equal split between B and C, but B better matches the core requirement without extraneous formatting specifications.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A Generative AI Engineer is working with an instruction-following LLM trained on customer calls about product availability. The LLM should output "Success" if the product is available or "Fail" if it is not.
Which prompt enables the engineer to get the correct call classification labels?
A
You are a helpful assistant that reads customer call transcripts. Walk through the transcript and think step-by-step if the customer’s inquiries are addressed successfully. Answer “Success” if yes; otherwise, answer “Fail”.
B
You will be given a customer call transcript where the customer asks about product availability. Classify the call as “Success” if the product is available and “Fail” if the product is unavailable.
C
You will be given a customer call transcript where the customer asks about product availability. The outputs are either “Success” or “Fail”. Format the output in JSON, for example: {"call_id": "123", "label": "Succes"}.
D
You will be given a customer call transcript. Answer “Success” if the customer call has been resolved successfully. Answer “Fail” if the call is redirected or if the question is not resolved.