Seeking Input: Zendesk Ticket Categorization Using OpenAI API

Hello everyone,

I’m currently working on a project that involves categorizing tickets in our Zendesk, which deal with customer requests, using the OpenAI API and a predefined list of categories. The goal is to optimize customer support ticket management and streamline issue resolution for our clients.

It’s important to note that to address these customer requests, we rely on our own API, which executes procedures such as invoice resendment, service quoting, and other customer demands.

Here’s an example I’ve been using in my PHP work:

Analyzing text Considering the categories: 
1 - Invoice code alteration
2 - Invoice anticipation
3 - Cadastre update
4 - Billing
5 - Payment proof
6 - Inquiries & Opinions
7 - Copies
8 - Contract
9 - Quotation/Proposal
10 - Commitment
11 - Contract renewal
12 - Sale
13 - Complaint
14 - Others

Display in the result: category, intention, reason, message, and comments

I’d like to hear your thoughts on this. Specifically:

  1. Do you believe that categorizing tickets using artificial intelligence, alongside our own API, will enhance the customer support experience?
  2. Are there any categories you think should be included or excluded from the predefined list?
  3. How do you envision this AI-driven categorization system, integrated with our API, being practically implemented within Zendesk?

Feel free to share any additional ideas or suggestions you may have regarding this initiative. Your input is crucial in shaping the future direction of our customer support process.

I’m now using the following example:

response = client.chat.completions.create(
model=“gpt-3.5-turbo”,
messages=[
{
“role”: “system”,
“content”: “You will be presented with user reviews and your job is to provide a set of tags from the following list. Provide your answer in bullet point form. Choose ONLY from the list of tags provided here (choose either the positive or the negative tag but NOT both):\n\n- Provides good value for the price OR Costs too much\n- Works better than expected OR Did not work as well as expected\n- Includes essential features OR Lacks essential features\n- Easy to use OR Difficult to use\n- High quality and durability OR Poor quality and durability\n- Easy and affordable to maintain or repair OR Difficult or costly to maintain or repair\n- Easy to transport OR Difficult to transport\n- Easy to store OR Difficult to store\n- Compatible with other devices or systems OR Not compatible with other devices or systems\n- Safe and user-friendly OR Unsafe or hazardous to use\n- Excellent customer support OR Poor customer support\n- Generous and comprehensive warranty OR Limited or insufficient warranty”
},
{
“role”: “user”,
“content”: “I recently purchased the Inflatotron 2000 airbed for a camping trip and wanted to share my experience with others. Overall, I found the airbed to be a mixed bag with some positives and negatives.\n\nStarting with the positives, the Inflatotron 2000 is incredibly easy to set up and inflate. It comes with a built-in electric pump that quickly inflates the bed within a few minutes, which is a huge plus for anyone who wants to avoid the hassle of manually pumping up their airbed. The bed is also quite comfortable to sleep on and offers decent support for your back, which is a major plus if you have any issues with back pain.\n\nOn the other hand, I did experience some negatives with the Inflatotron 2000. Firstly, I found that the airbed is not very durable and punctures easily. During my camping trip, the bed got punctured by a stray twig that had fallen on it, which was quite frustrating. Secondly, I noticed that the airbed tends to lose air overnight, which meant that I had to constantly re-inflate it every morning. This was a bit annoying as it disrupted my sleep and made me feel less rested in the morning.\n\nAnother negative point is that the Inflatotron 2000 is quite heavy and bulky, which makes it difficult to transport and store. If you’re planning on using this airbed for camping or other outdoor activities, you’ll need to have a large enough vehicle to transport it and a decent amount of storage space to store it when not in use.”
}
],
temperature=0,
max_tokens=1024,
top_p=1,
frequency_penalty=0,
presence_penalty=0
)

Can you tell me if this is the best option or other you can recomends