Low code Automation

Autonom8 Unveils GPT-3 Integration for Seamless Code Generation, Transforming the Low-Code Landscape

Low-code development platforms have gained significant traction in recent years thanks to their ability to help developers create applications quickly and efficiently.

A8Studio is a low-code platform developed by Autonom8.

A8Studio empowers businesses to rapidly build workflow-based applications with its advanced BPMN (Business Process Model and Notation) builder. The platform features an intuitive drag-and-drop form builder for creating powerful user interfaces and the option to write custom JavaScript code to enhance application logic.

Traditionally, writing code requires a strong understanding of programming languages, syntax, and other technical details. We recently integrated the GPT-3 Codex model into our A8Studio platform to provide a great additional tool for citizen developers to utilize AI for programming tasks.

GPT-3 Codex is OpenAI’s powerful language model that can generate code snippets and simple programs in various programming languages.

With our integration, A8Studio users can simply describe a programming task or logic they want to implement in natural language. The GPT-3 Codex model will generate the appropriate code for the task, which the user can then review, modify as needed, and deploy. This functionality enables those with limited technical knowledge to harness the power of AI for programming and development, resulting in a much faster process for building applications and automation.

Integration with the Codex Model

To ensure security, we limit the selection of JavaScript packages available when writing code in A8Studio. Despite the restrictions in place, users still have access to the platform’s powerful custom-built SDKs for a more versatile coding experience. This can present a challenge when it comes to generating custom code via GPT-3.

For example, the prompt “Get users from a8flow” should generate a JavaScript code that correctly uses the getUsers function from the custom a8flow SDK below.

declare var a8flow: {
    getUsers() => Promise<userResponse[]>;
    getUserById(userId: string) => Promise<userResponse[]>;
};

At Autonom8, we’ve found a way to tackle this challenge. We use a “Prompt Engineering” technique to influence the GPT-3 code generation process and generate code that meets our requirements for A8Studio.

With Prompt Engineering, we create custom prompts that guide the GPT-3 model to generate code that meets our users’ specific needs. By providing a prompt that includes information about the specific packages that are allowed, as well as any other requirements, we’re able to ensure that the generated code is both safe and effective

This has significantly lowered the barrier to entry for A8Studio by empowering our users to generate code using natural language. It enables businesses to build sophisticated applications, automate critical workflows, and easily streamline internal processes.

We named this GPT integration TARS after a popular character from the movie Interstellar. Using natural language, you can now instruct TARS to generate the code for you in A8Studio.

For example, TARS generates the following code in response to the prompt “Get users from a8flow where first name, last name or email partially match bind param search and display the results in the table with id: users. While doing the filtering, check if the fields exist

const users = await a8flow.getUsers();
const filteredUsers = users.filter(user => {
   if (user.firstName && user.firstName.includes(bindParams.search)) {
   return true;
   }
   if (user.lastName && user.lastName.includes(bindParams.search)) {
   return true;
   }
   if (user.email && user.email.includes(bindParams.search)) {
   return true;
   }
   return false;
});
a8forms.Table("users").setData(filteredUsers);

Here are some sample prompts that you can use to ask TARS (AI-powered pair programmer) to generate code for you in A8Studio.

  • Get A8Flow groups, and for each group, get users. Handle exceptions.
  • Start a new process instance with just the definition key ‘BusinessLoan’
  • Set bind param variable firstName to ‘John’ and then save the form
  • Get the next available user in the group “fieldOfficer” for the “homeLoan” process definition. Use most idle agent algorithm
  • Hide all inputs with ids (name, phoneNo, address) and make them read-only. Wrap these operations inside a transaction.
    loans array has a list of objects with properties loanNo, applicantName, phoneNo, and loanAmount. Filter the loans by loanAmount greater than 10000

A8Studio allows you to write code that can be executed from the browser or the sandboxed server environment. However, certain JavaScript packages are only available on the server, and some functionalities can only be implemented on the browser. TARS is aware of the execution context and generates code accordingly.

In conclusion, the GPT-3 Codex integration is an exciting enhancement to our low-code platform, enabling an AI-powered programming boost for citizen developers. While the generated code still needs review and editing, it reduces the initial blank-page effect. It provides starter code, saving time and decreasing the technical skills required to build applications and automation.

We hope to continue expanding AI capabilities on our A8Studio platform to empower our users further to achieve their development goals.

Autonom8’s platform has been a huge success with its users and clients, who appreciate the company’s commitment to making automation solutions that are both powerful and user-friendly. The platform’s convenient user interface and seamless integration with existing processes have made it a popular choice for organizations looking to automate complex business processes and decision-making. Schedule a call today and watch your workflows improve manifold!

atnm8master

Recent Posts

Navigating the Efficient Frontier for Language Models (LLMs)

Introduction Businesses globally are under increasing pressure to optimize customer journeys for maximum efficiency and…

5 months ago

Video KYC Automation with Autonom8’s Low Code Hyperautomation Platform

Introduction As the RBI tightens its grip on KYC compliance, particularly targeting India’s large Banks…

5 months ago

Overcoming Bottlenecks in Customer Service Processes with Hyperautomation

Did you know that 73% of customers expect brands to understand their unique needs and…

5 months ago

5 ways AI-chatbots can redefine the classroom experience

The impact of technology in our lives grows every day. AI has been a game-changer…

5 months ago

The Role of Generative AI in Loan Origination System

Introduction Long ago, banks made loan documents like promissory notes and deeds of trusts by…

6 months ago

Workflow Automation with Gen AI in Banking

Banking has undergone a remarkable transformation, moving beyond the days of long, long queues and…

6 months ago