Documentation
Document Translation
This content transformer uses an LLM to translate the body to a default language. If upfront it is detected that the document is already in the default language, the document is left as is. The translated text is afterwards available in the body field “bodyDefault”.
Configuration Parameters
Transformer Stage Type: choose Translation
Prompt: Displays the prompt which is sent, together with the document body, to the LLM. You must adjust the translation towards the target language to your needs.
Default language. Here please add the two letter of the ISO 639 language codes so that the stage can (heuristically) determine whether the text needs to be translated or not.
LLM Configuration
See the parameter description at LLM Specific Configurations - Content Transformers