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.
Deze oefening maakt deel uit van de cursus
Prompt Engineering with the OpenAI API
Oefeninstructies
- Craft a prompt that classifies the
ticketas technical issue, billing inquiry, or product feedback, without providing anything else in the response.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
client = OpenAI(api_key="")
# Craft a prompt to classify the ticket
prompt = ____
response = get_response(prompt)
print("Ticket: ", ticket)
print("Class: ", response)