Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Detect business insights from customer support conversations using AI
Latest

Detect business insights from customer support conversations using AI

Last Updated on September 25, 2022 by Editorial Team

Author(s): Shubham Saboo

Originally published on Towards AI the World’s Leading AI and Technology News and Media Company. If you are building an AI-related product or service, we invite you to consider becoming an AI sponsor. At Towards AI, we help scale AI and technology startups. Let us help you unleash your technology to the masses.

Learn how to analyze customer conversations with just 15 lines of PythonΒ code!

Background

A positive customer experience can make the difference between losing and retaining customers. Businesses need to constantly improve their products and services and identify trends and issues at an early stage to keep their customers satisfied!

It has become more crucial than ever to analyze customer support data and derive valuable insights to ensure that necessary modifications and enhancements are undertaken early on the basis of the customer
preferences, and the business perform effectively to support theΒ same.

But that’s the biggest challenge. Unfortunately, most businesses struggle to capture and make sense of the data derived here. While it would be cumbersome to listen to all the calls or skim through all the emails to figure out the insights, even sample picking wouldn’t ensure that the problem areas are correctly identified.

How to make sense of this huge volume ofΒ data?

Here’s where One AI studio changes theΒ game!

One AI is a language AI service where various pre-trained NLP models are packaged and made available through API, enabling language comprehension in context and transforming texts from any source into structured data. One AI studio is capable of performing a wide array of tasks including but not limitedΒ to:

  • Transcribing audioΒ files
  • Generating Highlights of theΒ input
  • Topic extraction
  • Emotions as well as Sentiments detection
  • Identification ofΒ Keywords
  • Identifying ActionΒ Items
  • Clustering the data basis skills as parameters like Keywords or Sentiments, etc.
One AI Studio Interface

Let’s look at how you can build a streamlit application to analyze customer support data using One AI and Python. All you need to have is the following:

Application Walkthrough

We will use the Streamlit framework to build a beautiful frontend in python itself. Here is a step-by-step walkthrough to building a Python application for call center analytics:

  1. Import the necessary libraries and get the API key from theΒ user.

2. Get the conversation or email trail as input from the user and create functionality to select between different intelligence features.

3. Format the input data to be processed by the language model by converting it intoΒ JSON.

4. Set the headers, API endpoint address, and the payload to be sent to the API. Use the request library to hit the API endpoint and get the output returned in JSONΒ format.

5. Process the JSON file and display the output to the endΒ users!

🌟 Here is the GitHub repository to get the source code:

GitHub – Shubhamsaboo/customer-center-analytics-nlp: Use OneAI API to analyze the deep customer insights with NLP and LLMs

This is what our final application looks likeΒ πŸ‘‡

Streamlit Application to analyze customer conversations

AI-powered Analytics in ActionΒ πŸ•Ή

Now let’s look at how we can use the above application in real-world scenarios:

Step 1: First things first, you have to put your API Key for authentication. Copy your One AI API Key and paste it onto theΒ sidebar.

Getting the API key (Screen-1)
Getting the API key (Screen-2)

Paste the API key in the application sidebar.

Step 2: Let’s get the ball rolling. Enter the transcript of an audio call in the input box and select an intelligence feature.

Sample conversation

Ensure that the input is given in the belowΒ format.

Customer:
Hi, I am Dragos from Leverkin Management. I am having a lot of trouble with using your product, it is very complicated. I require a training session.
Agent:
Hi, I’m sorry to hear that. I will surely schedule a session for you. Is Tuesday 5 p.m. a good time?
Customer:
Yes, that will work thanks.
  1. β€œSummary” as an intelligence feature:

2. β€œNamed Entity Recognition” as an intelligence feature:

3. β€œEmotion Detection” as an intelligence feature:

4. β€œSentiments Analysis” as an intelligence feature:

5. β€œTopics Detection” as an intelligence feature:

Try it out yourself πŸ‘‰ Streamlit Application

Conclusion

AI will revolutionize the way customer center data is analyzed. It would play a pivotal role in how useful insights can be derived from customer experience efficiently and with greater accuracy. By identifying customer needs and preferences, call center agents will be able to provide a more personalized and satisfying customer service experience.

If you would like to learn more or want me to write more on this subject, feel free to reachΒ out.

My social links: LinkedIn| Twitter |Β Github

If you liked this post or found it helpful, please take a minute to press the clap button, it increases the post's visibility for other mediumΒ users.


Detect business insights from customer support conversations using AI was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.

Join thousands of data leaders on the AI newsletter. It’s free, we don’t spam, and we never share your email address. Keep up to date with the latest work in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.

Published via Towards AI

Feedback ↓