Welcome to our new blog series – Artificial Intelligence (AI) for Digital Threads and Integrated Digital Engineering. Our goal in this new blog series is to share real, practical examples of leveraging AI/ML for digital threads and accelerating integrated digital engineering for complex cyber-physical systems.
Generative AI and availability of Large Language Models (LLMs) have made natural language processing ubiquitous. We are having conversations with ChatGPT (OpenAI) for assisting us with daily tasks, from generating code snippets and business processes, to podcasts and even math problems for our kids. Gen AI and LLMs have made it easy to extract content from large collections of semantically unstructured documents to structured data sets that are immediately useful, as well as generating new documents with insights gathered from existing datasets.
Digital threads are foundational for integrated digital engineering and digital twins, connecting models/data across disciplines and data silos into a large, curated knowledge graph. Syndeia, our digital thread platform, provides a comprehensive set of capabilities to build, navigate, query, visualize, and configuration-control live, enterprise-scale, secure digital threads. Syndeia makes it possible to rapidly build digital thread knowledge graphs from enterprise repositories, such as requirements, system architecture, hardware (PLM, MCAD/ECAD), software (ALM, SCM), simulations, verification, manufacturing, and sustainment. Figure 1 below illustrates an example digital thread connecting digital model/data repositories across disciplines in an enterprise.
DoD Instruction 5000.97 has put a renewed focus on digital threads as a foundation for integrated digital engineering. It states – “The digital thread should seamlessly advance the controlled interplay of technical data, software, information, and knowledge in the digital engineering ecosystem. Digital threads are used to connect authoritative data and orchestrate digital models and information across a system’s life cycle. The digital thread informs decision makers throughout a system’s life cycle by providing the capability to access, integrate, and transform data into actionable information.”
Intercax is a pioneer in vendor-neutral and enterprise-scale digital thread technology. The Syndeia platform turned 10 this year!
Figure 2: Syndeia – Digital Thread Explorer (DTE) view showing live navigation of digital thread across data/model repositories
The combination of AI and Digital Threads opens up exciting new technical fronts for integrated digital engineering. It is our goal to share new use cases and capabilities made possible by combining AI services and LLMs with the Syndeia digital thread platform.
Organizations are deploying AI services for extracting insights from large sets of unstructured data and disconnected legacy documents. Responses from an AI service can be connected with models/data from other repositories as part of a digital thread. Beyond traceability, this will ensure that results of a computation can be used for downstream activities. In this blog post, we will use OpenAI as an example AI service to demonstrate this use case. Though the steps are shown for OpenAI, this general approach will work for any AI service that provides a REST API that can respond to user prompts.
Syndeia provides a Generic RESTful Integration capability that can be used to integrate with API endpoints for any repository or service that provides a REST API, directly from the Syndeia Dashboard. OpenAI provides a REST API for its capabilities, specifically the Chat Completion capability that will demonstrated here.
The figure below show a simple workflow for integrating OpenAI as a service with Syndeia using the Generic RESTful Integration capability. The general steps are as follows.
Step 1 is done once, while steps 2-4 can be executed at any frequency decided by the user. Users can create collections of requests with prompts. This entire workflow can be executed from the Syndeia Dashboards, or using the Syndeia API as a part of an automated and scheduled process.
The overall steps in the workflow are presented below. Step-by-step tutorials and demos for Syndeia’s RESTful integration are available on our public documentation site.
Add OpenAI as a new RESTful repository from the Syndeia Web Dashboard. You will need the following for OpenAI:
Once OpenAI is added as a repository, users can add requests using the available API endpoints that OpenAI provides. Refer to the OpenAI API reference docs here: OpenAI Platform.
In this case, a POST request is being added to the chat completions endpoint (/chat/completions) with a body that contains the prompt, e.g. What is the mass of the James Webb Space Telescope? Users can test the request and view the response by clicking on the Test button. The response (in JSON) shows the answer returned by the OpenAI repository. Users can provide a name for the response, e.g. Mass of JWT, as shown in the figure below. In this way, users can create a collections of requests with different prompts. Specific GPT models (e.g. gpt-turbo-3.5 or gpt-4o-mini) can be specified in the request body with the prompt.
Users can view all the requests and their raw responses in the Syndeia Web Dashboard. The figure below shows a collection with 2 requests and their responses. The requests with prompts sent to OpenAI repository are highlighted in orange, while the responses are highlighted in green.
The specific request prompts and their responses received from the OpenAI repository are as follows.
The responses received from the OpenAI repository are available in Syndeia as artifacts that can participate in digital thread relations. Users can create digital thread relations from/to any response artifact to/from artifacts in other repositories, as part of a digital thread project. The figure below shows the Digital Thread Explorer view for the Space Telescope Digital Testbed project in the Syndeia Web Dashboard. The digital thread subset in the figure shows the Mass of JWT response artifact (OpenAI), as also shown in Figures 5 and 6 above, is connected to the Space Telescope hardware assembly (Teamcenter PLM) from which the mass was derived, and the Mass requirement (Jama Connect) that it satisfies. The color coding in the Digital Thread Explorer show the repositories owing the artifacts. OpenAI is shown as a RESTful repository in violet color.
Figure 7: OpenAI service response as an artifact (Mass of JWT) connected with artifacts from other repositories in a digital thread
Syndeia is an API first technology. Anything you can do with the Syndeia Web Dashboard can be done with the Syndeia Cloud REST API, thereby making it possible to use Syndeia’s capabilities with automation and scheduling. Users can create and send requests (prompts) to OpenAPI, view results, and use resulting artifacts for downstream digital thread operations. The figure below shows the use of Syndeia Cloud REST API, specifically its Python SDK, in a Jupyter notebook. The two API calls shown here are:
Figure 8: Using Syndeia Cloud REST API (Python SDK) to send requests and receive responses from OpenAI
This blog is the first in our new blog series on AI for Digital Threads and Integrated Digital Engineering. The blog specifically demonstrates a simple no-code approach for connecting an AI service with Syndeia, using OpenAI (ChatGPT) as an example. Users can add OpenAI as a RESTful repository, create collections of requests (prompts), execute requests and use responses from OpenAI as artifacts in a digital thread. The process can be automated using the Syndeia Cloud REST API.
Stay tuned for the next blog posts in this series where we will dive into more exciting use cases around AI, digital threads, and Syndeia.