Skip to main content
Production use of this feature is available for specific editions only. Contact our sales team for more information.
The AI Translate transformation component uses the Databricks ai_translate() function to invoke generative AI to translate text to a specified target language. This function uses a Databricks chat model serving endpoint made available by Databricks Foundation Model APIs. The input to this component is any text string. The output is a string translated to the target language.
  • According to the Databricks documentation, the preview for this function supports translation between English (en) and Spanish (es) only.
  • Make sure you have read and understand the Requirements set out by Databricks before using this component.

Use case

Some typical use cases for this component include:
  • Translating customer reviews or survey responses into a common language before running sentiment analysis.
  • Translating product names, descriptions, or specifications into a target language for global e-commerce platforms.
  • Translating incoming support tickets or chat messages into your support team’s preferred language, and translating replies back.

Properties

Name
string
required
A human-readable name for the component.
Columns
column editor
required
Input Column: The input column that holds text you wish to translate to another language. Target Language: The language to translate to.
Include Input Columns
boolean
required
  • Yes: Includes both your source language input columns and the new target language translation columns. This will also include those input columns not selected in Columns.
  • No: Only includes the new target language translation columns.