Translate

Functionality

This module is designed to translate a user input or previous chat interaction message to a required language.

Input

A user uses the assistant linked to this module to translate a text passage or previous message.

Example inputs:

  • Translate the previous answer to French

  • Translate the following to French: Hello world, this is a sample text.

Output

Translation of the required text.

Configuration settings (technical)

This section contain all configurable parameters.

General parameters

Parameter

Description

Parameter

Description

languageModel: string

used GPT model

Default: AZURE_GPT_35_TURBO_0613

Prompts

Only adjust prompts if you are fully familiar with the code logic. Small changes can break the module or reduce the output quality.

Parameter

Description

Parameter

Description

systemPromptTranslation

triggerPromptTranslation

System and trigger prompt used to translate a user input (or previous message) from one to another language


Author

@Fabian Schläpfer

 

© 2024 Unique AG. All rights reserved. Privacy PolicyTerms of Service