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

openai-automations

ai-accelerator-ui

Configuration

openai-automations

ai-accelerator-core


For specific API configuration keys:

  • ai-accelerator-openai for OpenaI

  • ai-accelerator-azure for Azure

Installing with Maven

Maven is the easiest way to install the module. Add the following to your bundle:

  • 1.3.X

  • 1.2.X and before

<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>
OpenAI
<dependency>
  <groupId>info.magnolia.ai</groupId>
  <artifactId>magnolia-ai-accelerator-openai</artifactId>
  <version>1.3.0</version>
</dependency>
Azure OpenAI
<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:

  • Project POM

  • Webapp POM 1.3.X

  • Webapp POM 1.2.X

  <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>
Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the AI Accelerator module docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules