You are building a multilingual chatbot. You need to send a different answer for positive and negative messages. Which two Text Analytics APIs should you use? E...
Microsoft AI-102 Exam
Questions Number: 178 out of 241 Questions
73.86%
Question 178
You are building a multilingual chatbot. You need to send a different answer for positive and negative messages. Which two Text Analytics APIs should you use? Each correct answer presents part of the solution. (Choose two.) NOTE: Each correct selection is worth one point.
B: The Text Analytics API's Sentiment Analysis feature provides two ways for detecting positive and negative sentiment. If you send a Sentiment Analysis request, the API will return sentiment labels (such as "negative", "neutral" and "positive") and confidence scores at the sentence and document-level. D: The Language Detection feature of the Azure Text Analytics REST API evaluates text input for each document and returns language identifiers with a score that indicates the strength of the analysis. This capability is useful for content stores that collect arbitrary text, where language is unknown. Reference: https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis?tabs=version-3-1 https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-language-detection