November 28, 2024 4 min read

GPT-3 Integration: Scaling a Conversational Chatbot

Revolutionizing Change Management through GPT-3 Integration: Enhancing and Scaling a Conversational Chatbot

  • The client

Our client is a startup that helps businesses transform by developing corporate training programs for them. The company effectively improves change management, enabling one-on-one interaction with every employee on the changes and reporting on possible risks and issues to managers.

  • Challenges

With the COVID outbreak, the field of change management started gaining more attention, while the demand for these services began to increase rapidly. To address the growing demand, in February 2020, our client introduced a micro-coaching service that provides customers with answers to their questions via text or chat. The solution was warmly embraced by users and immediately received a lot of positive feedback.

But despite the initial success, the company faced certain challenges over time. First, their chatbot had a monolithic architecture, which made it hard to add new functionality. Second, the chatbot could not recognize users’ emotions, moods, and intents and express empathy. Third, as the company’s customer base continued to grow, it became harder for the chatbot to carry a heavy workload. This prompted the need for scaling.

That’s why the company came to Wetelo to achieve the following goals:

  • Re-architect the chatbot to make it easier to add new functionality
  • Make the chatbot more intelligent for more efficient change management
  • Improve the overall maintainability and scalability of the chatbot

Product discovery to define how to enhance the virtual coach

To improve our client’s solution and decide on what features to add, we started with product discovery. During this phase, we interacted with the chatbot as a user and analyzed it to better understand what functionality it lacked.

To address these needs, we offered to build a GPT-3 module that would enable the chatbot to come up with user-tailored messages during one-on-one conversations, recognize users’ moods and emotions, show empathy, and encourage them to embrace the changes and set goals.

We came to the following conclusions:

  • It is important for users to get personalized messages with the bot mentioning their names.
  • The virtual coach has to suggest different options for users based on their replies, and then reach out with a follow-up asking about their progress.

Building a sophisticated chat GPT‑3 module and increasing the product’s scalability

To meet our client’s requirements, we broke down the development process into several stages, starting with architectural refactoring.

Developing the conversational module

Our third step was to build a module that would receive messages from employees and reply to them with text generated by GPT-3. With this module, the chatbot could understand employees’ moods, paraphrase employees’ messages, and express empathy.

Conducting sentiment analysis

Our fourth step was to conduct sentiment analysis and check whether GPT-3 can define the characteristics of emotions. For this task, our team used sentiment-roberta-large-english  model and Huggiing Face API. After testing, we concluded that GPT-3 worked as intended, as it was able to distinguish negative sentiment from neutral. Based on the results provided by the chatbot, human managers could better communicate with employees, improve their morale levels and prevent risks associated with burnout and turnover.

Migration to AWS

To deal with sudden traffic spikes and ensure product scalability, together with our client, we made a decision to migrate the solution to the cloud. That’s why our final step was to perform the product migration to AWS, as this service provider offered more opportunities for developing, maintaining, and scaling the solution, while allowing to deal with heavy traffic hassle-free.

A worthy alternative to a human coach

After our work was done, the client received a refined conversational chatbot that contributes to change implementations among companies, offers automated coaching to support employees, and prevents possible risks associated with employee burnout and turnover. The implemented changes were appreciated by users, while the bot became a worthy alternative to a human coach.

Today, the chatbot continues to help companies such as Universal Pictures, SAP, and Stora Enso with overcoming their management challenges. And with the switch to microservices and migration to AWS, our client is able to improve the chatbot further, helping even more businesses in the future.

Don’t want to miss anything?

Subscribe to keep your fingers on the tech pulse. Get weekly updates on the newest stories, case studies and tips right in your mailbox.