Case Study
Web App Development
Frontend Development
UI/UX & Digital Experience

Velotio Revolutionized a Manufacturing Data Platform with ChatGPT Integration Catalyzing 10X Productivity Surge

About This Project

The client aimed at elevating the capabilities of their existing product through the integration of ChatGPT.

The vision was to create a seamless fusion of cutting-edge technology with their manufacturing data platform, empowering users with an intuitive and natural language interface for communication.

Services

Web App Development
Frontend Development
UI/UX & Digital Experience

Technologies

About the Client

The client is a US based data platform and solution pioneer for the manufacturing industry. It provides comprehensive solutions to help manufacturers unlock their full potential.
By harnessing the power of data analytics, the client empowers manufacturers to stay ahead of the competition and respond proactively to dynamic market demands.

Understanding the Challenge

The project's inception came from an innovative idea of  integrating ChatGPT into the client's manufacturing data platform. This concept aimed to introduce a chat agent to transform user interactions in the manufacturing ecosystem.

To address this challenge, we kicked off on creating a customized ChatGPT solution. This involved defining intricate algorithms, implementing robust querying mechanisms, and seamlessly integrating the model with the existing manufacturing data platform.

At the core of the client's product lies a vast repository of manufacturing data collected from various sources (factories). This data forms the foundation for comprehensive analytics, enabling customers to make data-driven decisions and optimize manufacturing processes.

Through integrating ChatGPT, the client aimed to enhance user engagement, streamline communications, and revolutionize data access and utilization in manufacturing.

Team Velotio focused on elevating the platform's capabilities and creating an interactive, user-friendly experience for a specific group of factory-level users.

“Collaborating with the Velotio team has been an absolute game-changer for our project. I was impressed by their ability to understand the technical details and customer data. It was great to work with such a technically capable and exceptional technology partner as Velotio. They have undoubtedly been a valuable asset to our team and their contributions have significantly elevated our project's outcomes.”

VP of Data at the Data Platform and Solution Pioneer Company

How We Made It Happen

The project's foundation laid in utilizing ChatGPT's advanced analytical capabilities to tackle complex machine data challenges. As we progressed through the project, our focus was to ensure the seamless portability of ChatGPT into our client's existing product.

We achieved this step by step, in phases.

1: Data Generation and Tokenization

  • Utilize SDKs to extract data from the platform.
  • Apply tokenization techniques to ensure uniform data formatting.
  • Generate initial "prompts" (questions) and their corresponding responses.
  • The data load script runs periodically and captures any new data since the last run called as dataset.
  • The important parameters like entity details, performance parameters are extracted from this dataset.
  • The performance parameters are correlated with the factors affecting them (tags) to create descriptive sentences and summary sentences.
    Example of summary sentences:
    1st January 2023 the Mixes had Availability XXX and Running for 30 minutes.
    Performance, measured by TAG2015240, was all null.
    Quality, measured by TAG5653, averaged 30 units.

    Example of descriptive sentences:
    The Boiler machine is part of the packaging line. The following Boiler fields are highly correlated: TAG2541, TAG258242, TAG53842
  • Such different types of sentences are passed to OpenAI embeddings to create a vector representation of the text called as Embedding.
    Example-
    "embedding": [
       -0.006929283495992422,
       -0.005336422007530928,
       ...
       -4.547132266452536e-05,
       -0.024047505110502243
      ],

2: Data Ingestion

  • Ingest the generated data into vector or relational databases.
  • Prepare the data for evaluating the effectiveness of text-to-query suggestions from OpenAI.

3: Choosing the Right Regression Algorithm

  • Evaluate various regression algorithms such as OLS, RandomForest, etc.
  • Finalize the most accurate regression algorithm (e.g., X) based on performance assessments.

4: Model Querying

  • Parse and convert user input text into SQL queries.
  • Execute these queries on the database to extract relevant data.

5: Accuracy Validation

  • Iteratively evaluate OpenAI's text-to-SQL query performance.
  • Validate the accuracy of the generated queries and make necessary refinements.


6: Portability

  • Integrate the ChatGPT application back into the platform using REST APIs.
  • Ensure seamless communication between ChatGPT and the existing product.
  • Through these well-defined phases, the project aims to enhance the capabilities of the platform by incorporating ChatGPT's text-to-SQL query functionalities. The iterative evaluation and algorithm selection process ensure the delivery of accurate and effective results to users, fostering a user-friendly and productive experience.
  • Finally, the integration of ChatGPT via REST APIs ensures the successful deployment of the application, empowering the platform to provide efficient and intelligent data querying solutions.

Here’s how the data flowed within the platform(post ChatGPT  integration):

Step 1- Data Load: Data is loaded as explained in the step-by-step process above.

Step 2 - User Response Flow:

2.1. The user enters their query in the chat box.
2.2. GPT converts the query to SQL. In this step, details such as entities, performance parameters, and associated fields are extracted to construct an SQL query.

Example- Question: "What factors affected the Availability for the Boiler machine today?"
In this case, the extracted information includes: machine = Boiler, performance parameter = Availability, date = 1st Jan 2023.

2.3. Vector Distance Calculation:
The extracted fields are used to query related data in the database.
The user's input query is converted into a vector embedding, and the distance between this vector embedding and the available vector embeddings in the database is calculated. The results are referred to as facts.
These facts are augmented with additional information, if necessary, to compose a coherent sentence-like response.


Overall, the provided content effectively outlines the steps involved in the user response flow, illustrating how ChatGPT interacts with the manufacturing data platform.

How Velotio Made a Difference

Together with the client-side team, we streamlined the release process, implementing efficient strategies and communication channels that resulted in faster release cycles and enhanced software delivery.

The client successfully achieved a 50% enhancement in delivery performance with the new platform version.

The seamless ChatGPT integration with the client’s manufacturing data platform boosted the platform productivity by 10X.

With Velotio, achieve breakthroughs in your product development journey.

Over 90 global customers, including NASDAQ-listed enterprises, unicorn startups, and cutting-edge product companies have trusted us for our technology expertise to deliver delightful digital products.

Talk to us

Work with modern and scalable technologies

We leverage emerging technologies to build products that are designed for scalability and better usability.

Rated 4.6/5 on Clutch

325+ highly skilled engineers

With us as your tech partners, you get access to a pool of digital strategists, engineers, architects, project managers, UI/UX designers, Cloud & DevOps experts, product analysts and QA managers.

At Velotio, we hold ourselves to sky-high standards of excellence and expect the same from our customers.