1. 学习
  2. /
  3. 课程
  4. /
  5. Introduction to Claude Models

Connected

练习

Conversation roles for customer support

BrightCart’s live-chat traffic has doubled since launching the new interface. You’re training a support bot to handle simple FAQs instantly but escalate anything that needs account access or deep tech fixes. For example, the bot can handle questions such as password resets and shipping ETAs, but billing errors or app crashes much be handed off to a human agent.

Give Claude a few example turns that lock in this behavior so customers always get quick help from the bot, or a smooth transfer to specialists.

The anthropic library, client, and customer_question variable are pre-loaded.

说明

100 XP
  • Set the role for the assistant's helpful response to the password question.
  • Write an escalation response that directs billing issues to human support.
  • Add the customer question using the user role.