Skip to content

Translate Node

Inputs and Outputs

Input: The node accepts an input of type ‘string’. It’s the text that will be processed by the language model.

Output: The node outputs the result of the language model’s processing.


Properties

Model: Choose from various language model options like ‘gpt-3.5-turbo’, ‘gpt-3.5-turbo-16k’, ‘gpt-3.5-turbo-1106’, ‘gpt-4’, ‘gpt-4-1106-preview’, ‘gpt-4-32k’, ‘Claude-2’, ‘Claude-2.1’.

Secret: API key for accessing the language model service.

Language: “English”, “Spanish”, “Chinese”, “Hindi”, “Arabic”, “Portuguese”, “Bengali”, “Russian”, “Japanese”, “German”


Usage

1. Connect a string input to the node.

2. Select the desired model and language from the dropdown menus.

3. Provide the necessary API key in the ‘Secret’ field.

4. The node will process the input text and output the result based on the selected model and language.