Challenge: Industry Core Standard: Developing a Frontend for the IRS API using GenAI on Tractus-X Days¶
Introduction¶
This guide explains how to use the provided AI assistant and how to start the solution developed in the challenge. After completing all three phases, you should have a progressive frontend solution that:
- Phase 1: Integrates with REST APIs provided by the Item-Relationship-Service
- Phase 2: Visualizes part chains with relationships between digital twins in a network
- Phase 3: Visualizes semantic data linked to digital twins.
Table of Contents¶
- Introduction
- Prerequisites
- How to use the KI assistance
- IRS-API-Request-Collection-Insomnia
- Example solution
- Example ChatGPT History of Successful Workshop
- Contact
Prerequisites¶
- Node.js and npm installed on your system. (Download: Node.js)
- Proxy Server configured as shown in the workshop (to avoid CORS issues).
- The
X-API-KEYsecurely provided by the workshop moderator. - The 'baseUrl' securely provided by the workshop moderator.
- Select your favorite AI chatbot:
- ChatGPT access (only premium): ChatGPT)
- Claude.ai Claude.ai access (free or premium)
How to use the KI assistance¶
- Copy/Paste KI assistance into your AI chatbot.
- Start the KI assistant and follow the instructions.
IRS Api Request Collection¶
Execute challenge¶
- Open your favorite IDE.
- Follow instructions of KI assistance to set up progressive frontend.
- Navigate to the directory where proxy server configuration
proxy.jsis located. - Ensure the
X-API-KEYis replaced with the one shared securely by the moderator. - Ensure the API
baseUrlis replaced with the one shared securely by the moderator. - Start the proxy server in terminal: ```bash node proxy.js
- Run in another terminal: ```bash npm install
- Open the 'index.html' in your favourite browser.
- Register a IRS Job
- Get the job details
- Check results
Contact¶
For questions or further information, please feel free to reach out:
-
Martin Kanal
Martin.Kanal@doubleslash.de -
Jaro Hartmann
Jaro.Hartmann@doubleslash.de -
Maximilian Wesener
Maximilian.Wesener@doubleslash.de