To use the embedded AI assistant with a commercial AI provider, users will need an API key from the AI provider.
The embedded AI assistant can also be used with local language models, via Ollama. In this case, you do not need any API keys.
Enable the embedded AI assistant. In the Preferences tab of the main Formulize admin page, scroll down to the AI section, and click Yes for the Enable the embedded AI assistant option.
Select the group(s) that should have access. Once the embedded AI assistant is enabled, you can select which groups have access to the assistant. Select them in the preference called Groups that can use the embedded AI assistant.
Write some introductory notes for the AI. When AI is enabled in Formulize, there is an additional preference called System Specific Instructions for the AI Assistant. This is a very useful and powerful feature! Everything you type in this preference, will be communicated to the AI every time it connects to your Formulize system. This is your chance to give it any unique background info it might need in order to understand your system, what it’s for, and how it works. Include details. The AI loves details.
Open the assistant and save your settings. Go to the front page of your Formulize site and open the menu. Click Use AI at the bottom of the menu. When the assistant opens, you will need to specify these things:
You can open the settings and adjust them, including the available tools, at any time. Just click the chip in upper right where the model name is displayed.
Keep the assistant open while using Formulize. You can keep a browser tab open with the assistant, while you use Formulize in other tabs/windows. The assistant will have access to all your actions in Formulize (searching for entries, creating and updating entries, and saving forms, elements, and screens). These actions from the last 30 minutes will be passed to the assistant from all the other Formulize tabs/windows that you are using.
Start a new conversation to clear the context window. If you’re done dealing with a certain issue or goal, you can click the Start a new conversation button in the header bar. This is useful because the chat history is sent to the AI with every message, up to the character limit saved in your settings. Starting a new conversation means the history is completely cleared.