Skip to content

Magic AI Configuration

The Magic AI section in the admin sidebar provides four sub-pages for managing AI providers, behavior, prompts, and system-level personality settings. Navigate to Magic AI in the sidebar to access them.

Platforms

Navigate to Magic AI >> Platforms to manage your AI provider connections.

AI Platforms

The Platforms page displays a datagrid with the following columns:

ColumnDescription
LabelThe name you assigned to the platform configuration
ProviderThe AI provider (OpenAI, Gemini, Ollama, Groq, etc.)
ModelsThe models enabled for this platform
DefaultWhether this platform is the default (Yes/No)
StatusEnabled or Disabled
Created AtDate the platform was added
ActionsStar (set as default), Edit (pencil icon), Delete (trash icon)

Adding a Platform

Click the Add Platform button in the top-right corner. A modal opens with the following fields:

  1. Provider — Select a provider from the dropdown (e.g., OpenAI, Gemini, Ollama, Groq).
  2. Label — Enter a descriptive name for this platform configuration.
  3. API Key — Paste the API key from your provider account.
  4. Models — A multiselect field listing available models for the selected provider. Choose one or more models.
  5. Status — Toggle to enable or disable the platform.

Add Platform

TIP

API credentials are stored with encrypted credential storage for security. Your API keys are never stored in plain text.

Platform Actions

  • Star icon — Sets the platform as the default. Only one platform can be the default at a time.
  • Pencil icon — Opens the edit modal to update the platform label, API key, models, or status.
  • Trash icon — Deletes the platform configuration. This action cannot be undone.

Settings

Navigate to Magic AI >> Settings in the sidebar. This opens the configuration page at /admin/configuration/general/magic_ai with four sections.

Magic AI Settings

1. Agentic PIM

Configure the AI Agent Chat, autonomous enrichment workflows, and quality monitoring.

FieldDescription
Enable AI Agent ChatToggle to enable or disable the conversational AI agent interface
Max Agent Steps Per TurnDropdown to set the maximum number of tool calls the agent can make per turn (default: 5)
Daily Token BudgetNumber field to set the maximum tokens the AI can consume per day (e.g., 500000)
Auto-Enrichment on Product CreateToggle to automatically enrich product data when a new product is created
Catalog Quality MonitorToggle to enable ongoing AI-driven catalog quality monitoring
Confidence ThresholdDropdown to set how confident the AI must be before applying changes (default: 0.7 Balanced)
Change Approval ModeDropdown to control how AI-proposed changes are applied (default: "Confirm & apply" — the AI proposes values, asks for confirmation, then executes)

2. Text Generation

Configure the default AI platform and model for generating product descriptions, category content, and other text-based AI features.

FieldDescription
EnabledToggle to enable or disable text generation
Default PlatformDropdown to select the platform. Choose "Use Default Platform" to use the starred platform, or select a specific one
Default ModelDropdown to select the model from the chosen platform

3. Image Generation

Configure the default AI platform and model for generating product images. Only platforms that support image generation (OpenAI, Gemini, xAI) are listed.

FieldDescription
EnabledToggle to enable or disable image generation
Default PlatformDropdown to select an image-capable platform
Default ModelDropdown to select the image generation model

4. Translation

Configure the AI platform and model for translating product content across locales. You can use a different platform for translations, allowing you to choose a faster or more cost-effective provider.

FieldDescription
EnabledToggle to enable or disable AI-powered translation
Default PlatformDropdown to select the platform used for translation
Translation ModelDropdown to select the model used for translation
Replace Existing ValueToggle to control whether existing translations are overwritten when re-translating
Source ChannelDropdown to select the channel whose content is used as the translation source
Target ChannelDropdown to select the channel that receives translated content
Source LocaleDropdown to select the locale to translate from
Target LocalesMulti-select dropdown to choose which locales to translate into

TIP

You can assign a different (potentially cheaper or faster) AI provider specifically for translations, keeping your premium provider for content generation.

Click Save Configuration at the bottom of the page to apply all changes.

Prompts

Navigate to Magic AI >> Prompts to manage custom prompts for AI content generation.

Prompts

The Prompts page displays a datagrid with the following columns:

ColumnDescription
TitleThe name of the prompt
PromptThe prompt text with placeholders
Entity TypeThe entity the prompt applies to (product or category)
PurposeWhether the prompt is for Text Generation or Image Generation
Created AtDate the prompt was created
Updated AtDate the prompt was last modified
ActionsEdit (pencil icon), Delete (trash icon)

Creating a Prompt

Click the Create Prompt button to add a new prompt. Define the title, prompt text, entity type, and purpose.

Prompts support dynamic placeholders that are replaced with actual product or category data at generation time. Common placeholders include @name, @color, and other attribute codes.

Example Prompts

Here are examples of prompts that ship with UnoPim:

TitlePromptEntity TypePurpose
AI Product DescriptionWrite a detailed product description for @name highlighting its features, benefits and @color variant.productText Generation
AI Product ImageGenerate a professional product photo of @name on a clean white background with studio lighting.productImage Generation
AI Category DescriptionWrite a compelling category description for @name that helps customers browse products.categoryText Generation

TIP

Use attribute codes as placeholders (prefixed with @) in your prompts. The AI will replace them with actual values from the product or category being processed.

System Prompts

Navigate to Magic AI >> System Prompts to configure the AI's personality and behavior for content generation.

System Prompts

The System Prompts page displays a datagrid with the following columns:

ColumnDescription
TitleThe name of the system prompt
ToneThe conversational tone (e.g., Confident, Vivid, Brief)
Max TokensThe maximum number of tokens for AI responses
TemperatureThe creativity level (lower = more focused, higher = more creative)
StatusEnabled or Disabled
Created AtDate the system prompt was created
Updated AtDate the system prompt was last modified
ActionsEdit (pencil icon), Delete (trash icon)

Preset System Prompts

UnoPim ships with 10 preset system prompts. Only one system prompt can be enabled at a time.

TitleToneTemperatureNotes
Authoritative GuideConfident, assertive, instructional0.65
Descriptive StorytellerVivid, rich, engaging0.9
Concise ResponderBrief, to-the-point0.5
Technical ExpertPrecise, analytical0.6
Casual ConversationalistInformal, relaxed0.75
Motivational CoachEnergetic, encouraging0.85
Empathetic ListenerWarm, understanding0.6
Witty CommentatorClever, humorous0.9
Professional AdvisorFormal, respectful0.65
Friendly AssistantFriendly, helpful, casual0.7Enabled by default

Creating a System Prompt

Click the Create System Prompt button to define a new AI personality. Configure the title, tone description, max tokens, temperature, and status.

TIP

Only one system prompt can be active at a time. Enabling a new system prompt automatically disables the previously active one. Choose a system prompt that matches the tone you want across all AI-generated content.

Released under the MIT License.