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

API URL

Access to the following URL is needed:

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

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.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.

Sample file

This sample file is a reference import for AI Text, which contains an example configuration.

Welcome to the AI Chat!

Write a prompt to get started...