How to
This section contains the key techniques and methods for optimally configuring AI Assistant. Study them to set up the extension properly.
๐๏ธ Create prompt
A Prompt is a central point in our AI Assistant extension. It is used to specify how the extension will interact with AI provider, configure input/outputs, and bind prompts to Magento fields through Selectors. A prompt is created separately for different scopes and allows the use of Variables available for them.
๐๏ธ Create automation rule
The automation rule is used for bulk data processing. To trigger the rule, you should use the CLI command. Alternatively, you can schedule the command to run in your crontab.
๐๏ธ Use prompts
Below are the most popular examples of how prompts are used.
๐๏ธ Translate content with a prompt
AI providers allows to translate your existing data in the fields to another language. You need to create a corresponding propmpt in AI Assistant for translating purposes.
๐๏ธ Restrict access by role
The AI Assistant ships with an AI Assistant by Mirasvit permission that lets you control which admin roles can use the extension. This is useful when you want only certain team members to generate content with AI while other administrators keep working without the AI generate buttons on their edit pages.
๐๏ธ Fix blank or truncated output
Occasionally the Generate button returns an empty field, or a value that is much shorter than expected. The cause is almost always one of three things: the AI provider rejected the request, the prompt's stop sequence cut the answer, or the request never left the browser. Work through the checks below in order.
๐๏ธ Upgrade extension
Follow these steps to update the extension via ัomposer:
๐๏ธ Disable extension
Using these steps you can disable or remove extension.