Translate

With Select AI, you can use generative AI from supported translation providers to translate your text into the language of your choice. This feature supports OCI, Google, AWS, and Azure as providers.

You can use this feature alongside the existing Select AI RAG. You can combine translate with DBMS_CLOUD_AI.GENERATE or narrate to use generative AI for producing translated outputs in your preferred language.

See TRANSLATE Function, GENERATE Function, and Example: Select AI Translate to learn more.

Benefits of Translate

The translate feature in Select AI enables you to translate input text in different languages.

The following are the benefits:

How Do I Use Translate

Select AI enables you to translate your text input into your preferred language by using the translate action or by calling the DBMS_CLOUD_AI.GENERATE or the DBMS_CLOUD_AI.TRANSLATE functions.

To use the Select AI translation feature, you must configure authentication and permissions based on the AI provider defined in the AI profile. Select AI Translate supports multiple providers, including OCI, Google, AWS, and Azure.

Authentication and authorization are handled differently depending on the provider:

OCI

To use the Select AI translation feature, you must have the appropriate IAM policy permissions to access Oracle Cloud Infrastructure Language services.

Grant the permission to use ai-service-language-family resource in your IAM policy. An example policy statement to grant permission to a user group in a specific compartment is:

allow group <your group name> to use ai-service-language-family in compartment <your_compartment>

A Dynamic Group identifies resources such as databases or functions by matching their OCIDs or tags, while a User Group contains individual IAM users.

Use a dynamic group when the policy applies to OCI resources, and use a user group when the policy applies to human users. For detailed steps to create dynamic and user groups, see Managing Dymanic Groups.

See Language Policies for more information.

Google Cloud

For Google Cloud, configure Identity and Access Management (IAM) roles that grant access to the Cloud Translation API. See Identity and Access Management documentation for more details.

Google Cloud IAM provides centralized access control for managing permissions across services.

AWS

For AWS, configure IAM identity-based policies that grant access to Amazon Translate. See How Amazon Translate works with IAM for more details.

AWS IAM uses JSON-based policies to control access to services and resources, following the principle of least privilege.

Azure

For Azure, configure role-based access control (RBAC) using Microsoft Entra ID to grant access to translation services. See Compare AWS and Azure identity management solutions and Azure Translator documentation for more details.

Azure uses role-based access control integrated with Microsoft Entra ID to manage permissions and access to services.

Note:

Use a dynamic group when the policy applies to resources, and use a user group when the policy applies to users.

Each provider implements IAM differently. Ensure that permissions follow provider-specific best practices and grant only the minimum required access.

Translation Methods

You can translate text using the following: