Azure Translate
Overview
The Azure Translate Book integrates with Azure Translate, allowing you to automate language translation in your processes.
Prerequisites
1. Learning the Translator Book
In order to work with these operations, you must first learn the Translator Book in Kognitos. To do so:
In the left sidebar, click on Books.
In the search bar, search for Translator.
Click on + Book. A pop-up window will appear asking to Add New Book. Click Add.
2. Azure Setup
These are prerequisite steps for configuration within Azure.
Create an Azure Storage Account
Open the Azure Portal and go to Storage accounts from the menu.
Click Create.
Provide the necessary details, including:
Subscription
Resource Group
Storage Account Name
Region
Under Performance, select Standard.
For Redundancy, choose LRS (Locally Redundant Storage).
In the Advanced tab, enable:
Secure transfer
Anonymous access to individual containers
Storage account key access
Review your settings, then click Review + Create to finalize.
Create a Container in Azure
Navigate to your new storage account in the Azure Portal.
In the left menu of the storage account, scroll to the Data storage section and select Containers.
Click on + Container.
Provide a name for your container.
Set the level of anonymous access for the containers and blobs.
Create a Translator in Azure
Open the portal menu and go to All Services.
Search for "Translators". Select Translator under Azure AI services.
Click on Create Translator.
Fill in the Project Details and Instance Details for your translator.
Click on Review + create.
After your translator has been created, you will need to retrieve your translator key from Keys and Endpoint.
3. Connecting to the Translator in Kognitos
After the Book is learned and the translator infrastructure is set up in Azure, you’ll need to connect to the translator within the Kognitos platform. Add the following lines to your Playground or Processes to establish the connection.
Syntax
Parameters
translator name
: The name of the Azure translator.translator key
: The key for the Azure translator.storage account name
: The name of the Azure storage account.storage account key
: The key for the Azure storage account.container name
: The name of the Azure container.
Kognitos will attempt to connect to the translation service using the provided credentials. If the connection is successful, you can proceed with translation operations. Otherwise, please verify your credentials and try again.
Last updated
Was this helpful?