Install AI Accelerator
The AI Accelerator module integrates ChatGPT, a powerful language model, to save time and energy for marketers and other editors throughout the content lifecycle, from planning and creation through to content optimization, classification, and rollouts of personalized content.
Module structures changes
From AI Accelerator module version 1.3.0
, the following module structures changed:
Category | Pre 1.3.0 |
1.3.0 + |
---|---|---|
UI module paths |
|
|
Configuration |
|
For specific API configuration keys:
|
Installing with Maven
Maven is the easiest way to install the module. Add the following to your bundle:
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-ai-accelerator-core</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-ai-accelerator-ui</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-ai-accelerator-openai</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-ai-accelerator-azureai</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-openai-automations</artifactId>
<version>1.2.0</version>
</dependency>
Module dependencies
To install the module successfully, the following dependencies must be added to the POM file of the project in the current version:
<properties>
<contentEditor.version>2.1.7</contentEditor.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- Content editor module -->
<dependency>
<groupId>info.magnolia.block</groupId>
<artifactId>magnolia-block-api</artifactId>
<version>${contentEditor.version}</version>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>magnolia-content-editor-widgetset-v2</artifactId>
<version>${contentEditor.version}</version>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>magnolia-content-editor</artifactId>
<version>${contentEditor.version}</version>
</dependency>
<dependency>
<groupId>info.magnolia.block</groupId>
<artifactId>magnolia-block-templating</artifactId>
<version>${contentEditor.version}</version>
</dependency>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-link-unfurl</artifactId>
<version>${contentEditor.version}</version>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>stories-app</artifactId>
<version>${contentEditor.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-webapp</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-webapp</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-ai-accelerator-ui</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-ai-accelerator-core</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-ai-accelerator-openai</artifactId> <!-- OR azureai-->
</dependency>
<!-- Content editor module -->
<dependency>
<groupId>info.magnolia.block</groupId>
<artifactId>magnolia-block-api</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>magnolia-content-editor-widgetset-v2</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>magnolia-content-editor</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.block</groupId>
<artifactId>magnolia-block-templating</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-link-unfurl</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>stories-app</artifactId>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-webapp</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-webapp</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>info.magnolia.ai</groupId>
<artifactId>magnolia-openai-automations</artifactId>
</dependency>
<!-- Content editor module -->
<dependency>
<groupId>info.magnolia.block</groupId>
<artifactId>magnolia-block-api</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>magnolia-content-editor-widgetset-v2</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>magnolia-content-editor</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.block</groupId>
<artifactId>magnolia-block-templating</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-link-unfurl</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia.editor</groupId>
<artifactId>stories-app</artifactId>
</dependency>
</dependencies>