AI-102 Question 227
Select 3You are developing a customer support chatbot for your company that needs to handle conversations in multiple languages and provide accurate translations in real-time. You decide to use Azure Translator to implement this functionality. Which of the following steps are necessary to ensure successful integration of Azure Translator into your chatbot?
- A
Obtain an Azure Translator subscription key and endpoint from the Azure portal.
- B
Configure the chatbot to send translation requests using the Translator Text API.
- C
Host the Azure Translator service on a virtual machine within your Azure environment.
- D
Define a language detection step in the chatbot workflow to identify the user's language before translation.
- E
Train the Azure Translator service with custom language data to improve translation accuracy.
Show answer and explanation
Correct answers: A, B, D
Explanation
To integrate Azure Translator into your chatbot, you need to have the necessary subscription key and endpoint to make API calls, configure the chatbot to send requests using the Translator Text API, and implement a language detection mechanism to identify the user's language. Hosting the service on a virtual machine is unnecessary as Azure Translator is fully managed, and custom training is not required for general language translation tasks.
- A. Correct.
Correct. To use Azure Translator, you need to obtain a subscription key and endpoint from the Azure portal to make API calls.
- B. Correct.
Correct. The Translator Text API is the main interface for sending translation requests to Azure Translator.
- C. Incorrect.
Incorrect. Azure Translator is a fully managed service and does not require hosting on a virtual machine.
- D. Correct.
Correct. Language detection is a critical step to determine the user's language before initiating translation using Azure Translator.
- E. Incorrect.
Incorrect. While custom translation can be achieved using the Custom Translator feature, the base Translator service does not require additional training for general translation purposes.