nerdexam
Google

GENERATIVE-AI-LEADER · Question #34

A company is using a language model to solve complex customer service inquiries. For a particular issue, the prompt includes the following instructions: "To address this customer's problem, we should

The correct answer is D. Chain-of-thought. The prompt explicitly instructs the Large Language Model (LLM) to perform a step-by-step reasoning process before arriving at the final answer. The instructions lay out a sequential series of intermediate steps: "first identify," "then check," "if a solution exists, explain," "if

Prompt Engineering

Question

A company is using a language model to solve complex customer service inquiries. For a particular issue, the prompt includes the following instructions:

"To address this customer's problem, we should first identify the core issue they are experiencing. Then, we need to check if there are any known solutions or workarounds in our knowledge base. If a solution exists, we should clearly explain it to the customer. If not, we might need to escalate the issue to a specialist. Following these steps will help us provide a comprehensive and helpful response. Now, given the customer's message: 'My order hasn't arrived, and the tracking number shows no updates for a week,' what should be the next step in resolving this?" What type of prompting is this?

Options

  • AZero-shot
  • BFew-shot
  • CRole-based
  • DChain-of-thought

How the community answered

(22 responses)
  • B
    5% (1)
  • C
    9% (2)
  • D
    86% (19)

Explanation

The prompt explicitly instructs the Large Language Model (LLM) to perform a step-by-step reasoning process before arriving at the final answer. The instructions lay out a sequential series of intermediate steps: "first identify," "then check," "if a solution exists, explain," "if not, escalate." This technique is known as Chain-of-Thought (CoT) Prompting. CoT is a powerful prompt engineering technique where the user or developer explicitly includes intermediate reasoning steps in the prompt. This guides the model to break down a complex, multi-step problem into smaller, manageable, logical steps, significantly improving its reasoning ability and the accuracy of its final output for complex queries like customer service troubleshooting or multi-step analysis.

Topics

#Prompt Engineering#Chain-of-Thought#Generative AI#Language Models

Community Discussion

No community discussion yet for this question.

Full GENERATIVE-AI-LEADER Practice