AI text generation with BAIA
Bizzkit PIM offers the functionality to generate texts for PIM attributes based on AI technology. Bizzkit AI Assistant (BAIA) is seamlessly integrated in the PIM UI to provide a smooth user experience when using the text generation functionality.
Here is a video showing an example of text generation for a product description:
Feature overview
With this feature BAIA can be used to suggest generate a text value for an attribute based on other attributes, such as global lists or images. Using the custom instructions, the feature can be configured to interpret product characteristics from other attributes such as a product image, which then can be captured in a textual description.
Highlights
- Text generation for supported types of PIM attribute fields
- Image based product descriptions
- Easy configuration of example products
- Custom instructions to specify text length, tone of voice, target audience, and more
- Generate texts for multiple products at the same time, using Mass Edit
Bizzkit recommends
There are several use cases where AI text generation in PIM is a useful tool to easily generate product texts, for example:
- Creating product descriptions based on basic product data
- Creating SEO texts for a specific market or channel
- Shortening values of a product's text attributes
- Rewriting product descriptions in a different tone of voice
Providing good example data is essential for a high-quality result, so it is recommended to spend some time setting up the configuration for the best possible outcome of the AI text generation.
Generating texts
Texts can be generated using BAIA for attribute fields that are configured to support this functionality. On the product details page, three action buttons appear below the text field, as shown in the following image:
Editing generated texts
AI-generated texts can easily be changed by the user, for example, if the generated text isn't entirely accurate or if it's missing some essential information. This can either be done by applying a manual change to a generated text on the fly or by regenerating a text. While editing texts, previous versions of the same text can be viewed as well, so it's easy for the user to pick the best version of the generated or edited text.
Note
Previous versions of the generated text are only available while editing the text and will be discarded when the edit dialog is closed.
When using the function to generate a new text, a more specific instruction prompt can be provided by the user. This prompt will apply for this single text generation only and doesn't affect the configured instruction prompt for the attribute field.
Working with segmented attribute fields
The AI text generation function uses the preferred segmentation by default to provide input to the text generation engine about which segment on the attribute field to generate a text for.
However, when the active segment on an attribute field is not part of the preferred segmentation, the system asks the user to specify which segmentation a text should be generated for. The outputted text could be different depending on the configuration for each segment on the attribute field.
Example
Assume a preferred segmentation is selected that has English
as translation culture. If the text generation button is clicked when a different segment is active on the attribute field, for example, Danish
, the system will ask the user to specify which segmentation to use for providing input to the text generation engine.
Configuring AI text generation
Before AI text generation is available on an attribute field, it has to be configured first.
Info
Read more about configuring this AI feature on BAIA configuration.
Validation errors
If attribute fields are used for AI text generation but are not fully configured for this purpose, a validation error will be shown in the UI when the text generation is triggered.
The following list shows the possible validation errors and how to correct them:
Validation message | Solution/reason for error |
---|---|
No instructions configured for the current segment. | Add an instruction prompt to the BAIA configuration to the attribute field for a specific segment. |
The current product did not resolve any values for the relevant attributes, please update the product with information required for generating a product text. | At least one of the input attributes should be present on the product(s) a text is being generated for. Add one or more of the configured relevant input attributes to these product(s) and try again. |
The golden products you have selected do not contain text for the Attribute Name attribute you are trying to generate text for in the given segment. |
Set some text for the specified attribute on the configured golden products. |
Unable to generate text for example product. | This product is used as an example product on one or more BAIA configurations. Therefore no text can be generated for any attribute on this product. |
Field |
Check the attribute fields and make sure a BAIA configuration exists for the specified field. |
Supported data types
The following text-based data types are supported for AI text generation:
- PString
- PTranslatedString
- PTranslatedStringD
- PChannelSpecificString
- PChannelSpecificStringD
Fields on single-valued attributes that use one of these data types can be configured to use AI text generation.
Tip
Read more about the different data types PIM has to offer and how to set up an attribute in PIM.