1. Learn
  2. /
  3. Courses
  4. /
  5. Prompt Engineering with the OpenAI API

Connected

Exercise

Customer support ticket routing

A large customer support team receives many tickets related to different business areas, such as technical issues, billing inquiries, and product feedback. Your task is to create a prompt that automatically classifies incoming tickets into these three groups and routes them to the appropriate support specialists, reducing response times and enhancing customer satisfaction. You will test your prompt on a provided sample ticket.

The OpenAI package, the ticket string, and the get_response() function have been pre-loaded for you.

Instructions

100 XP
  • Craft a prompt that classifies the ticket as technical issue, billing inquiry, or product feedback, without providing anything else in the response.