AI Assistant
Last updated
Last updated
UI Bakery AI Assistant is an AI-based chatbot that can quickly help you with technical questions and code generation. The Assistant works in two modes: documentation mode and code generation mode.
The AI Assistant refers to UI Bakery documentation. When you ask a technical question, the AI Assistant explores the docs and gets back to you with an answer. The Assistant has access to the currently used action context and, based on that, can troubleshoot the action.
If you need the chatbot's assistance in action troubleshooting, click the Debug with AI button in the action's Result section.
The Assistant's answer can be rated with the Like/Dislike buttons. This allows to educate the chatbot in the best possible way. We highly encourage you to use the rating options.
If you notice that the Assistant's reply is not correct, contact us in the live chat or via email at support@uibakery.io.
Code generation mode can help with generating SQL queries or JavaScript code. This is especially useful for the execution of repetitive code, data transformations, or simply handling the not-so-well-known programming language.
To activate the Assistant, simply click on the chatbot's icon in the code field. Specify the details of the query and hit Enter. The AI Assistant has access to the current action context making code generation easier.
The AI Assistant is based on the Open AI GPT model. During the documentation or code generation request, Open AI API model may have access to the following user data:
The question posed by the user or the code generation request
Details about the action currently selected, including its name
Information regarding the step presently selected within the action, such as:
Step name
Action code/SQL
Action type
Any errors resulting from the action
The structure of the result, including the key names and their corresponding types
Names of the components and other used variables
The payload sent to the data source (including data specified by the user)
Structure of selected database tables, including columns
Please be aware that Open AI API does not receive any specific user information or actual data from data sources unless this data is included in the action request payload, which is selected during the chat request.
The AI assistant is hidden under a feature flag on a self-hosted version. To activate it on your instance, follow these steps:
Activate the variables UI_BAKERY_ENABLED_FEATURE_FLAGS=chat
and UI_BAKERY_CHAT_API_URL=
https://chat2.uibakery.io
in the .env file.
Restart your instance docker compose up -d