Retresco textengine.io
Description
Retresco textengine.io is a self-service platform for Natural Language Generation (NLG) which allows users to independently generate individual texts.
It automatically transforms structured data into text.
| As this Workflow uses write operations to PIM attributes via REST API, the OMN user executing this Workflow needs to be in an admin role. API admin roles are configured in property 'omn.eai.api.admin.roles' in EAI Properties |
Configuration Parameters
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 dependent. 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 dependent attribute. |
GENERATED_TEXT |
|
ext.ai-textcreation.textengine.apiUrl |
string |
Base URL of the Retresco TextEngine service |
||
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.11.1) |
false |
Example configuration
A detailed step-by-step guide to the configuration of the Workflow Config Function plug-in can be found on this page.