Zum Inhalt springen

DeepLWrite - DeepL

← DeepL Add-On Übersicht

The DeepLWrite step improves and rewrites the given text in the specified writing style and tone without changing its original meaning and returns the optimized version in the target language.


Inputs

Das sind die Optionen, mit denen man den Step konfigurieren kann.

NameDatentypBeschreibungPflichtfeldWerte
accountACCOUNTNein
InputSpreadsheetSPREADSHEETA Spreadsheet containing the texts to be improved.Ja
mappingdefinitionSTRINGThe mapping definition JSON StringJa
Folgende Felder sind zu konfigurieren:

FeldDatentypBeschreibungPflichtfeldStandardwert
idSINGLEA unique identifier of the record to be translated. Can be used to match the translation with the source text (e.g. datastore record).Ja
input_textSINGLEThe text to be translated.Ja
target_langSINGLEThe language into which the text should be translated. Leave empty to use the target_lang option of the Step Neinen-GB
LimitSTRINGLimits the number of rows for the translation. Use small values for testing to save DeepL API-Calls.Nein
target_langSTRINGThe language of the improved text. The language of the source texts sent in the 'input_text' parameter must match the target language (translating and improving text simultaneously is not yet supported). The language can also be set via the 'target_lang' column in the input spreadsheet. In this case, the option is ignored. Nein
  • German
  • British English
  • American English
  • Spanish
  • French
  • Italian
  • Brazilian Portuguese
  • Portuguese
writing_styleSTRINGChanges the writing style of your improvements. Using the 'default' value behaves the same as not sending a 'writing_style'. Not supported for every target_language (see DeepL API Docs). Styles prefixed with 'prefer_' will fall back to the 'default' style when used with a language that does not support styles (this is recommended for cases where no 'target_lang' is set), the non-prefixed writing styles (except 'default') will return a HTTP 400 error in that case. It’s not possible to include both 'writing_style' and 'tone' in a request; only one or the other can be included.Nein
  • default
  • academic
  • business
  • casual
  • simple
  • prefer_academic
  • prefer_business
  • prefer_casual
  • prefer_simple
toneSTRINGChanges the tone of your improvements. Using the 'default' value behaves the same as not sending a tone. Not supported for every target_language (see DeepL API Docs). Tones prefixed with 'prefer_' will fall back to the 'default' tone when used with a language that does not support tones (this is recommended for cases where no 'target_lang' is set), the non-prefixed tones (except 'default') will return a HTTP 400 error in that case. It’s not possible to include both 'writing_style' and 'tone' in a request; only one or the other can be included.Nein
  • default
  • confident
  • enthusiastic
  • diplomatic
  • friendly
  • prefer_confident
  • prefer_diplomatic
  • prefer_enthusiastic
  • prefer_friendly

Outputs

Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.

NameDatentypBeschreibungWerte
ImprovedItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
input_textSINGLE
target_langSINGLE
detected_source_languageSINGLE
improvement_textSINGLE
invalidItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
idSINGLE
input_textSINGLE
failedItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
methodSINGLE
hostSINGLE
requestBodySINGLE
statusCodeSINGLE
statusMessageSINGLE
responseHeadersSINGLE
responseFilenameSINGLE
errorSINGLE
source_idSINGLE
source_input_textSINGLE
responseContentSINGLE
errorMessageSINGLE