Generative AI App Generator Plugin

Introduction

The Generative AI Plugin is 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.

Plugin information

  • Plugin Name: Generative AI App Generator (Beta)
  • Compatible with: Joget Enterprise version 8.0.6 onward
  • Other Requirements: OpenAI API Key

Get started

Prerequisites

To use this plugin, ensure you have:

Where to get the plugin

You can get the plugin from the Joget Marketplace.

How to install

  1. Download the plugin JAR file from the releases page.
  2. Go to Settings > Manage Plugins > Upload Plugin.
  3. Once uploaded, the plugin will be available in your Joget environment.

How to use it

  1. Go to Design App > Create New App from the left sidebar in the App Center.
  2. Select the Generative AI (Beta) option.

  3. Click Configure Service.

  4. Select Configure ChatGPT Service and paste your OpenAI API Key into the provided field.

  5. After setup, a prompt screen appears where you can provide app requirements.
  6. Enter the App ID and App Name.
    • For this example:
      • App ID: purchaseRequisition
      • App Name: Purchase Requisition App
  7. Input your prompt text.
    • Example:
      "Generate a purchase requisition application that involves employee, HOD & Finance. If the total price is greater than $10000, it requires approval from the HOD before getting approval from Finance. If the total price is less than or equal to $10000, it does not require HOD approval."
  8. Once complete, click Save.

Expected outcome

After completing the steps, you will have a Purchase Requisition App. It can handle approvals based on total price criteria.

Download plugin

Download sample app

Download the demo app for the Generative AI App Generator Plugin:
Created by Julieth Last modified by Aadrian on Nov 19, 2024