cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Using an LLM with ThingWorx - Latest Version (V2) Update!

d_kessler
11-Garnet

Using an LLM with ThingWorx - Latest Version (V2) Update!

New Best Practice: Using LLMs with ThingWorx — Version 2.0 Now Available!

Everyone is talking about Generative AI, and Large Language Models (LLMs) continue to transform how organizations analyze and interact with data. Beyond chatbots and text generation, these models are increasingly being used to make sense of complex industrial data — from factory sensors to production analytics — helping teams make faster, smarter decisions.

ThingWorx, PTC’s Industrial IoT platform, enables secure connectivity to machines, systems, and databases across the enterprise. By linking ThingWorx with an LLM, you can create an AI Assistant for industrial operations that provides insights, answers natural-language questions, and supports data-driven problem solving — all while keeping your operational data secure.


🧩 What’s New in Version 2.0

This new release builds on the original ThingWorx + LLM accelerator and introduces major new capabilities designed to make LLM integrations more powerful, flexible, and enterprise-ready:

  • Integration with ThingWorx Analytics
    The accelerator now connects directly with ThingWorx Analytics Server to interpret results from Signals, Profiles, Datasets, and Predictive Models. You can ask questions like:

    “What factors most influence grinder failures?”
    “How accurate is the predictive model trained on my dataset?”
    The LLM analyzes the context and provides clear, actionable insights in natural language.

  • Router-Based Architecture
    Version 2 introduces a “router” service that allows the LLM to intelligently select which ThingWorx services to execute based on the user’s question. This makes the system more efficient, cost-effective, and scalable — only the necessary data and context are sent to the LLM.

  • Dual-Tab Mashup Design
    The new Insights Mashup includes two tabs:

    • Data Insights (V1) for simple natural-language data queries

    • Analytics Insights (V2) for interpreting ThingWorx Analytics jobs
      The design follows PTC’s corporate template for a modern, consistent experience.

  • Expanded Service Library & Security Enhancements
    The Manager Thing now contains 17 modular services, improving transparency and maintainability.
    This version also incorporates Azure OpenAI best practices for secure key management, data minimization, and compliance.


What You Get

The Accelerator includes:

  • A ThingWorx project file (PTCDTS_TWXLLM_V2.xml) that can be imported directly into ThingWorx 9.5 or above

  • An updated Best Practice document (V2) detailing setup, configuration, and validation steps

  • Sample data files (DEMO_BEANPRO_DATA.csv and metadata JSON) used to demonstrate Analytics Insights

Together, these resources show how to connect ThingWorx and an LLM using secure API calls — no external libraries required — and how to extend the architecture to your own factory data and analytics models.


Watch the New 21-Minute Walkthrough

To accompany this release, we’ve published a 21-minute video overview and live demo that walks through:

  1. How ThingWorx and LLMs communicate

  2. The new router-based architecture in Version 2

  3. How Analytics Insights can interpret predictive model results

  4. A full end-to-end demo showing natural-language queries in both tabs of the accelerator

Whether you’re a developer, system integrator, or operations engineer, this walkthrough shows how easily you can bring Generative AI into your ThingWorx applications.


Get Started

You can download everything — the Best Practice Document, Accelerator Project, and supporting demo data — from the official GitHub repository:
ThingWorx LLM Accelerator on GitHub

Import it into your ThingWorx environment, enter your Azure OpenAI credentials, and you’ll be up and running in minutes.


By combining ThingWorx’s industrial connectivity with the reasoning and language capabilities of LLMs, this accelerator helps organizations turn raw IoT and analytics data into real, explainable insights — safely, securely, and efficiently.



0 REPLIES 0
Announcements


Top Tags