GENERATIVE-AI-LEADER · Question #19
An organization wants to use generative AI to create a chatbot that can answer customer questions about their account balances. They need to ensure that the chatbot can access previous portions of…
The correct answer is D. Use prompt chaining. Prompt chaining feeds the output of one prompt (or the conversation history) as input into the next prompt, creating a stateful chain that preserves context across turns. For a chatbot that must reference prior conversation to answer account-balance questions accurately, this…
Question
An organization wants to use generative AI to create a chatbot that can answer customer questions about their account balances. They need to ensure that the chatbot can access previous portions of the conversation with the customer. Which prompting technique should they use?
Options
- AUse zero-shot prompting.
- BUse role prompting.
- CUse few-shot prompting.
- DUse prompt chaining.
How the community answered
(19 responses)- A5% (1)
- B11% (2)
- D84% (16)
Explanation
Prompt chaining feeds the output of one prompt (or the conversation history) as input into the next prompt, creating a stateful chain that preserves context across turns. For a chatbot that must reference prior conversation to answer account-balance questions accurately, this is the correct technique. Option A (zero-shot) provides no conversation history or examples. Option B (role prompting) defines a persona but doesn't carry conversation history. Option C (few-shot) provides static examples in the prompt but doesn't dynamically include the ongoing conversation as context.
Topics
Community Discussion
No community discussion yet for this question.