Contact Us
Preview of case

How we made an AI assistant for analytical dashboards in 3 months

The client is a mid-sized US logistics company that provides order fulfillment as well as warehousing and storage, picking and packing, and shipping services.

Icon 1USA
Icon 2Logistics
Image

Key achievements

90%

and more accuracy in interpreting user queries

50%

faster insight generation

40%

increase in dashboard active users

Challenge

The client’s database was integrated with Tableau. There were many different dashboards that contained various data — starting from the number of employees, ending with the amount of petrol needed for transportation.

The main difficulties were:

  • Compiling analytics, finding insights, and making key decisions took a lot of time and effort for data-driven managers.

  • Plenty of employees weren’t advanced users of analytical tools and Tableau. At the same time, successful work with analytics and its application in the job is a must-have.

Solution

To deal with the challenges, it was decided to create a Q&A system for analytical dashboards that will:

  • simplify the process of acquiring useful data and getting valuable insights

  • democratize analytics, making it more accessible to a wider range of employees with different duties, levels of access, and proficiency in using dashboards

  • speed up decision-making based on analytics

Solution requirements

  • Firstly,

    the AI assistant for analytical dashboards has to allow users to formulate regular questions in a regular manner, which means to understand human-like input.

  • Secondly,

    it should be able to maintain at least 90% accuracy in correctly interpreting queries and providing text and graphic responses that make use of all the dashboards’ data and its correlations.

  • Finally,

    the system should handle a large number of users simultaneously.

How we did it

First, we checked the client’s data for quantity, quality and regularity to comprehend that the project is feasible and the client can expect the desired outcome.

We also talked to various business representatives to gather the most common requests and pain points.

The quality and quantity of clients’ data were satisfactory. Therefore, we took several dashboards that contained company annual reports, examined the data, and trained LLM to provide answers based on them.

The final LLM choice was GPT 4o, because it showed the best quality and speed in giving answers to human-like questions among other candidates.

Next, we measured the accuracy of the LLM-provided query responses by comparing them to the desired results.

The PoC was presented and the client was highly satisfied. Therefore, it was decided to scale the success.

We continued training an AI assistant on all available dashboards, and planning the solution integration with the client’s corporate system.

Data collection pipeline

We built a data collection pipeline that detects changes in the database data. This is to ensure that when a new dashboard appears, the metadata—which explains what is stored in the table—is parsed and the information is added to the LLM.

Solution pipeline

The solution pipeline involved applying the NLSQL method. It is used to process any complexity of human questions and transform them into SQL requests and back.
The biggest challenge was the incompleteness of some of the dashboards metadata. Yet, we managed to explain to the LLM their contents through a large number of experiments (adding metadata, or writing cleverly constructed prompts).

Project duration:

The quality and quantity of clients’ data were good enough to enable quick development. Therefore, the project lasted approximately 3 months.

Backend and Frontend

Meanwhile, frontend developers were busy building a user-friendly interface, and backend developers conducted APIs creation to integrate the AI assistant smoothly into the client’s corporate system.

Performance monitoring

Finally, we verified the accuracy, usability, and functionality through performance monitoring and testing with real users.

User training

We also prepared comprehensive instructions, trained the C-level and management representatives to use the AI assistant efficiently and pass on knowledge to their team members.

How it works

An AI assistant for analytical dashboards is integrated with the client’s corporate system for efficient data search. This is how it’s used:

1

A user logs into the company’s corporate system.

2

In the right corner of the webpage, there’s a chat window. The user can enter a query in a free form there or make it full screen.

3

The AI assistant determines the user access level and retrieves the data allowed to view.

4

Then it processes the request, clarifies the required answer format—text, graphical form, or both options.

5

As a result, the solution generates a comprehensive response based on the available data.

Screenshots

  • Image of slide 0
  • Image of slide 1
  • Image of slide 2

Tools & technologies

MySQL
Node.js
PostgreSQL
Python
React
Elasticsearch
GitHub
GPT-4
Jira
LlamaIndex
OpenAI
Socket.IO
Tableau
AWS

Team

  • Image of slide 0

    Data scientist x1

  • Image of slide 1

    Data engineer x1

  • Image of slide 2

    Back-end developer x4

  • Image of slide 3

    Front-end developer x3

Results

As it was planned, the solution fulfilled all the client’s requirements and even exceeded the expectations. It enabled better and faster decision-making, decreased managers workload, and allowed for resources, processes and strategy optimization.

  • Icon of card 1

    The AI assistant maintains at least 90% accuracy in correctly interpreting and answering user queries.

  • Icon of card 2

    85% of queries are resolved without requiring manual intervention. There’s no need to call in a specially trained analyst to find second-level dependencies and get actionable insights.

  • Icon of card 3

    Thanks to the asynchronous architecture, the solution works simultaneously for all users, rather than putting them in a queue for execution.

  • Icon of card 4

    The solution ensured 50% faster insight generation.

  • Icon of card 5

    The process of democratizing analytics and transitioning to a data-driven approach in the company has shown its first results. After 3 months, the number of dashboards’ active users increased by 40%.

Interested in AI pricing?

We have a short questionnaire to help you get price estimation for AI solution of any complexity.

We use third-party cookies to improve your experience with aristeksystems.com and enhance our services. Click either 'Accept' or 'Manage' to proceed.