Jen Arriaza

Sr. Data Scientist | Machine Learning Engineer
NY Metro

I build applied machine learning tools for complex operations and manufacturing systems.


Contact

Back

Visual Analytics Meets Language Models: Interactive AI for Industrial Intelligence

View Repository

Note: This portfolio section is currently in progress. Please see the project repository linked above for current status.

Project Summary

The emergence of language models and industrial analytics is transforming how we interact with data. Traditional dashboards served their purpose, and we’ve now moved to a phase where conversational interfaces are powered by LLMs (Large Language Models) and deliver both insight and interactivity. In this project, I demonstrate how integrating an LLM with visual analytics tools—such as Power BI or Plotly Dash—can augment supply chain decision-making and streamline exploratory analysis.

Context: From Static Dashboards to Interactive Intelligence

In modern industrial environments, we often encounter complex, high-volume datasets. Dashboards offer static slices, but asking follow-up questions often requires more technical depth or assistance. Language models now allow non-technical users to explore data via natural language without leaving the analytics environment—as demonstrated in the below preview:

Data Source: Kaggle

The System: How LLMs Integrate with Visual Analytics

We implemented a basic architecture using OpenAI’s GPT API with a Dash/Streamlit front-end. The goal: Allow users to upload a CSV or query a database, then interact with the results visually and conversationally.

# Callback for chat input
@app.callback(
    Output('chat-response', 'children'),
    Input('submit-chat', 'n_clicks'),
    State('chat-input', 'value')
)
def generate_response(n_clicks, user_input):
    if n_clicks == 0 or not user_input:
        return ""
# ...Query handling specifications, GPT message debug, etc...
    return

# Run the chat app
if __name__ == '__main__':
    app.run(debug=True)

The model parses user input, determines the intent, and returns a brief narrative explanation summarizing trends, anomalies, or comparisons.


Industrial Use Case Scenario: Supplier Analytics & Risk Forecasting

Real-time supplier analytics are invaluable in an increasingly volatile market. AI-powered dashboards can provide insights instantly with clarity and without technical blocks.

Screenshot 2025-04-23 at 6 18 07 PM

The project also expands to advanced predictive analytics; In a case where a manufacturer wants to assess supplier delivery risk across multiple locations and overlay that risk with maintenance bulletin timelines. A user asks: “Which suppliers are linked to parts with overdue service bulletins?”

The model:

  1. Filters the dataset to service bulletins marked “Open” and past the effective date.
  2. Cross-references supplier names tied to those part numbers.
  3. Renders a Gantt-style timeline alongside a sortable table of risk rankings.

This kind of interactive querying drastically reduces the time it takes for an engineer or program manager to surface critical information.

Design Considerations and Challenges

How This Project Contributes to Industrial Intelligence

In complex domains—like aerospace, energy, or manufacturing—decision-makers must navigate fragmented data across systems. By embedding natural language interfaces into analytics platforms, we can address several strategic goals:

LLM-based analytics are not a replacement for dashboards—they’re an extension of what dashboards could be in a more intelligent, more interactive future.

References: View Repository