oo

Generating Product Descriptions using AI

Liferay DXP 2024.Q2+/Portal 7.4 GA120+

You can now use generative AI to add product descriptions. To start using the AI Creator tool, you must add an API key to authenticate your access to ChatGPT. See Generating Text Content Using AI for more information.

Important

Currently, this feature is behind a release feature flag. Read Release Feature Flags for more information.

After adding the API key,

  1. Open the Global Menu (Global Menu) and navigate to CommerceProducts.

  2. Select a product for which you want to generate a product description.

  3. Under the Full Description CKEditor, click Generate AI Content.

    Use the CKEDitor to generate product descriptions using AI.

  4. In the AI Creator modal window, fill in the three fields described below.

  5. Click Create.

    The AI Creator generates a product description.

  6. (Optional) If you don’t like the AI-generated content, you can click Try Again to regenerate the content.

  7. Click Add to add the product description to your product.

  8. Click Publish to save your changes to the product.

Description: The desired content (e.g. “A blog post about the sleeping habits of cats”).

Tone: The tone for your text. There are five options available: Neutral, Casual, Friendly, Formal, and Academic.

Word Count: An approximate word count for your text.

Use the generated product description for your product.

Important

Each request to generate content consumes OpenAI API tokens. When your limit is reached, a generic error message will appear.

Capability: