The configuration on this page describes the necessary steps for the AI Accelerator module version 1.2.0 and earlier.
For configuration from 1.3.0, see Configuration.
The module configuration can be done via yamldecoration either by specifying the API key directly in yaml or by providing a path to the API key in passwords app.
Defines the field types that are going to be filled out during component, variant or page generation. Default is textField, richTextField and damLinkField.
Other field types can be configured but might not work as expected.
availableTemplates
optional
From version 1.0.5
Defines the available templates for page generation in general.
Availability rules through the site definition are working independently of this configuration.
availableTemplates:Basic:id:mtk2:pages/basicCopy
availableComponents
optional
From version 1.0.5
Defines the available component templates for page generation and component generation.
baseUrl:https://<your-openai-deployment>.openai.azure.com/openai/deployments/<your-openai-deployment>components:authorization:class:info.magnolia.ai.automations.rest.RestAzureClientAuthorizationFilterrestCalls:completions:queryParameters:api-version:2024-02-15-preview# See https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions for supported versionschatCompletions:queryParameters:api-version:2024-02-15-preview# See https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions for supported versionsimageGeneration:queryParameters:api-version:2024-02-15-preview# See https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#image-generation for supported versionsCopy