Skip to main content

AI Code Generation Assistant


The YepCode AI Code Generation Assistant helps you generate JavaScript or Python code for your processes. It can also assist in writing input parameter form schemas.

Simply describe what you'd like to achieve, and the AI will generate the code for you.

Here's a demo video showcasing how the YepCode AI Code Generation Assistant works:

Setting Up the AI Code Assistant Engine

To use this module, you need to provide the API keys for the supported language model (LLM). Currently, only OpenAI is supported, but more engines will be added in the near future.

To configure the engine, go to the Settings tab and press the Configure AI Engine button:

After configuration, you'll see a new button in both the source code and input parameters editors:


When writing prompts:

  • Use natural language
  • Avoid ambiguity
  • Be clear and concise
  • Provide information that you think AI may not guess

Parameters Schema AI Assistant

The AI assistant can understand and generate JSON schema form specifications to fit the needs of the information you want to gather for starting executions.


Sample prompts:

  • A form to collect information during the registration of a tech event
  • A customer feedback survey form for a SaaS
  • A mortgage application form
  • A job application form
  • A form collecting participant information for a cycling race

The assistant keeps track of your previous requests, so you may ask for changes over the previously generated form, for example:

  • Change file input fields to not be required
  • Join the firstName and lastName fields into one fullName field
  • Remove URI validation in the website fields
  • ...

Source Code AI Assistant

The Source Code AI Assistant can generate source code for the editor or other content that can help you build the full solution (database DDL queries, sample texts, mail templates, etc.).

The AI assistant will have access to the full source code snippet, but you may provide additional context using the additional information option (providing both a title and content).

If you select some code, the AI assistant will provide only the needed code to replace the selected one, allowing you to make changes.


Sample prompts:

  • A function to check if a number is prime
  • Replace the selected MySQL sentence to insert information into the provided table
  • Validate that the user is at least 18 years old
  • Convert all object attribute keys to camelCase
  • ...