Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
This plugin is still in BETA.
This plugin adds a new option under the Design New App page to assist with app creation using a Generative AI language model. It builds a foundational app skeleton based on user instructions or prompts. You can further enhance the app’s functionality after generation. This article demonstrates how to create a Purchase Requisition App using the plugin.
The following requirements are required to use the plugin:
Figure 1: Obtaining API keys from OpenAI
Once everything is set up, select Design App and click the Create New App option located at the left sidebar in the App Center.
Figure 2: Design App > Create New App
Select the Generative AI option.
a
Figure 3: Generative AI option
Once clicked, you'll see the following. Click Launch Joget AI Designer.
Figure 4: Configure Service
Under the Link your API Server icon, paste an API Server URL and API Server Key into the provided fields. Click Save.
Figure 5: API Service Configuration
Click the Setup AI Services icon and click Configure.
Configure the following:
Figure 6: Configure new AI Service
After setup, click Design your app on the top right. Select either of the following options:
Text: Creates an app design based on text.
Image: Creates an app design based on an image.
This tutorial uses the Text option.
Figure 7: Text option
Input your prompt text. As an example:
"Design an expenses claim application. The process begins with the employee submitting an expense claim form detailing the expenses incurred. The claim is then reviewed by the immediate supervisor for initial approval. Once approved, it is forwarded to the finance department for verification of receipts and compliance with company policy. If the claim exceeds $500, it requires additional approval from the department head. After all approvals, the finance department processes the reimbursement and notifies the employee of the payment status."
An Any further adjustments to your query? reply message is displayed in the chatbox with the following options available:
Figure 8: Making further adjustments to the text prompt.
Enhance Query: Uses AI to improve the query presented by adding additional details to yield improved results.
Revert: Reverts the Enhanced Query response back to the original query.
Regenerate: Regenerate a new Enhanced Query response.
Continue: Proceed to the Process Proposal stage.
PII Masking: Redacts sensitive information presented in the query to improve security and anonymity.
Revert: Reverts the PII Masking response back to the original query.
Regenerate: Regenerate a new PII Masking response.
Continue: Proceed to the Process Proposal stage.
Skip: Skips any adjustments and proceeds to the Process Proposal stage.
The process of designing an app using Joget AI Designer consists of four main stages which include Process Proposal, Forms and Participants, Process Design, and Form Design. Complete all of these steps to generate a functional app.
In the Shall we proceed to the Process Proposal stage? page, click Process Proposal.
Figure 9: Moving to the Process Proposal stage
A summary of the app design is displayed. The following options are available:
Figure 10: A summary of the project proposal
Refine: Allows users to refine the project proposal by adding additional prompts.
Regenerate: Regenerate a new project proposal.
Form Design: Proceed to the Forms and Participants stage.
Add a new form or additional form by clicking Add Form to input a prompt for a new form. The AI will generate a new form.
Figure 11: Additional form generation
If no further changes are necessary, click Create App. Provide an App ID and App Name, and click Save to create the app.
After completing the steps, you will be prompted to Launch App Composer and have created an Expense Claims App. It can handle approvals based on the total claim amount criteria. The app can be configured further, just like any other Joget app.