Use the Acquia DAM integration with OpenAI’s ChatGPT to auto-generate product descriptions in the Entries app.
With this AI integration, you will:
How it works¶
Generative AI tools like ChatGPT use large, multimodal language models based on a broad range of data captured from the internet to respond to questions in a conversational way.
This native integration takes text-based product attributes that you approved for AI use and sends them to ChatGPT in a prompt, which looks like this:
In [length], generate a product description for a [product] with the following attributes: [attributes].
Using the prompt – along with a chosen tone and the level of creativity – ChatGPT makes the description and sends it back to Entries, which places it in the product description field.
We also can’t control the output of ChatGPT, so we recommend that Entries admins periodically review the auto-generated product descriptions.
Set up the integration¶
Step 1. Request the OpenAI integration by contacting your Acquia account rep. Plan for the cost of ChatGPT based on the volume of product descriptions that will be created.
Step 2. Fill out the requirements document the Acquia team sends you. You’ll provide us with this information, and we’ll turn it into a prompt and settings used continuously by ChatGPT:
-
Your own OpenAI key to use for the integration
-
Length for the product description
-
Product type (or an attribute that describes what a product is)
-
Attributes
-
Temperature
You can choose the default prompt and settings – or develop custom ones. If you create a custom prompt and settings, we recommend you work with an AI expert at your organization to develop and test it.
ChatGPT info | Default | Examples of custom info |
Length | 3 sentences | 2 sentences, 1 paragraph |
Tone | Informational | Straightforward, bubbly, rugged |
Product | Mapped from product type or an attribute | Mapped from product type or an attribute |
Attributes | Mapped from product attributes | Mapped from product attributes |
Temperature | 0.5 | 0.1, 1.6 |
Temperature is a setting on a scale from 0 to 2. If you set this to 0, ChatGPT uses the least amount of creativity and the response is direct and expected. If you set this to 2, ChatGPT uses the most amount of creativity and randomness.
Prompt and settings example¶
In two sentences, generate a product description for a sweater with the following attributes: color, orange; price $44; department, women's; material 100% acrylic; style, cable knit, casual, slouchy.
Tone: Bubbly
Temperature: 0.8
ChatGPT response ¶
Brighten up your wardrobe with our Orange Zest Cable Knit Sweater for just $44! This slouchy, casual delight in 100% acrylic is the perfect blend of warmth and style for fabulous women. 🍊✨
Test it’s working¶
Once your integration is set up, test that the auto-generated product descriptions are working correctly.
1. Go to the Entries app.
2. Click Create product.
3. Enter a product name, SKU, and product type. Click Create product.
4. Click Edit attributes and enter information for each attribute, except Product Description (AI Generated). Note that you must fill out all attribute fields referenced in your ChatGPT prompt for the integration to work.
5. Enter the tone you’d like the description to have in the Tone for AI Description field.
6. Once finished, select Yes in the Ready for AI Description? dropdown.
7. Click Save.
8. Wait five to six minutes for the product description to be generated by the OpenAI integration.
9. Refresh the page. After the integration runs, the product description will be filled in and the Ready for AI Description? field will change to Completed.
Regenerate a product description¶
If you edit a product attribute included in the ChatGPT prompt, the integration will not automatically update the product description.
To regenerate the product description, click Edit attributes on the product page. Select Yes in the Ready for AI Description? dropdown and save.