AI Text Creation

Description

The AI Textcreation service automatically creates natural language texts based on PIM2 attribute values. The text creation is done by using the Retresco TextEngine service.

Requirements

Access to the following URLs is needed:

Configuration

Workflow-Name: ai-textcreation

Key (* = required) Type Default Description Example

ext.ai-textcreation.textengine.apiKey*

string

API Key for the Retresco TextEngine service

ext.ai-textcreation.textengine.cartridgeId*

string

Cartridge ID of the Retresco TextEngine service

ext.ai-textcreation.modelMapping*

clob

Model Mapping:

OMN Attribute Identifiers → AI TextCreation Service Identifiers

(PRODUCT_NAME refers to the name of the product in case there is no attribute named "PRODUCT_NAME")

{"serializedType": "java.util.HashMap","value": {"Farbe":"Farbe", "Marke":"Marke","Größe":"Größe", "Listenpreis":"Listenpreis","Material":"Material" "PRODUCT_NAME":"PRODUKT_NAME"}}

ext.ai-textcreation.languageId*

language

ID of the language to use in case one of the OMN attribute identifiers (from mapping above) is language dependant. Needs to match the language of the textEngineCartridgeId specified above.

English

ext.ai-textcreation.targetAttributeIdentifier*

string

The OMN attribute identifier where the generated text (result of the AI textcreation service) should be stored at. This needs to be a language dependant attribute.

GENERATED_TEXT

ext.ai-textcreation.textengine.apiUrl

string

https://api.textengine.io/v1/cartridges/

Base URL of the Retresco TextEngine service

https://api.textengine.io/v1/cartridges/

ext.ai-textcreation.textengine.isSynchroneWfl

boolean

true

If set to 'false' the Workflow will execute asynchronously, if set to 'true' execution will be synchronous (since 5.10.1)

false

Welcome to the AI Chat!

Write a prompt to get started...