Modeling Guide for SAP Data Hub

Translator

The Translator operator prepares a request message for the Leonardo Machine Learning Foundation (Leonardo MLF) service: Translation. It does not require any configuration. Ensure that the input JSON string contains the required fields. These are: {operation:translate,body:{sourceLanguage: de,targetLanguages: [en],units: [{value: text to translate.}]}}.

Configuration Parameters

None

Input

Input

Type

Description

input

string

The JSON request in string format (see above.)

Output

Output

Type

Description

output

message

The request message sent to the Leonardo ML client.