Translate text task

The translate text task can translate the message content and training phrases in your passages.

The translate text task can translate all bot message content and quick replies in a passage or translate all training phrases in an NLP question. The translation replaces the original content and must be reviewed and published before it will be visible to your chatbot users. You can customise the prompts used to translate the content.

The translate text task is in the translate copy usage. You need an administrator or publisher role in your team to create a usage.

By default, new usages you create are set as the primary usage (the usage the chatbot will use). You can create a usage without setting it as primary if you need to.

When editing tasks and usages, check the top of the usage page to see if it is the primary usage and whether your changes must be published to take effect. If there is no message indicating your changes must be published, then the changes are applied immediately and will not appear in versions.

You can test your task by opening a passage and translating the content or translating training phrases.

To create the translate copy usage and configure the task, you must have:

  • Generative AI configurations enabled for your chatbot by inGenious AI support.
  • A connector to power the task. 
    You can see the list of connectors that support the task when you create the usage.
  • At least two languages configured in your NLP settings.

To create a translate copy usage and configure the task:

  1. Click Manage in the left navigation, then click LLM Usages.
  2. Click the filter icon next to + LLM Usage and make sure Show Platform Usages is selected.
  3. Click + LLM Usage.
  4. In the Type field, select Translate Copy.
  5. Optionally, edit the Name for the usage.
  6. If you don't want the chatbot to use this task yet, clear the Set As Primary checkbox.
  7. Select the Connector to use for the task or select Create compatible Connector to create a new connector.
    Only compatible connectors will be available.
    You must have an administrator role in your team to create connectors.
  8. Click Create
  9. By default, the inGenious AI platform waits a maximum of 60 seconds for the model to generate a result. If it doesn't receive a result within that time, it notifies your content creator that the request timed out. 
    If you want to change this period:
    1. Expand the Timeout section.
    2. Update the number of seconds the inGenious AI platform will wait.
  10. If you want to edit the default prompts used to translate the content and questions, type any edits into the Prompt area.
    Make sure you don't delete the prompt variables: ${language}, ${content}, and ${question}.
  11. Click Save.
Was this article helpful?
0 out of 0 found this helpful