Topic 1 Question #3
You need to build a chatbot that meets the following requirements:✑ Supports chit-chat, knowledge base, and multilingual models✑ Performs sentiment analysis on user messages✑ Selects the best language model automaticallyWhat should you integrate into the chatbot?
- A.
QnA Maker, Language Understanding, and Dispatch
- B.
Translator, Speech, and Dispatch
- C.
Language Understanding, Text Analytics, and QnA Maker
- D.
Text Analytics, Translator, and Dispatch
Answer: C
The scenario outlines three core requirements for the chatbot: support for chit-chat, a knowledge base, and multilingual models; sentiment analysis on user messages; and automatic selection of the best language model. The services in option C directly address every requirement. QnA Maker (now part of Azure AI Language question answering) provides built-in support for custom knowledge bases and preconfigured chit-chat personality datasets, and natively supports multilingual knowledge base deployments. Text Analytics, another component of Azure AI Language, includes sentiment analysis as a core feature, which evaluates user messages to detect positive, negative, or neutral sentiment. Language Understanding (now Conversational Language Understanding, part of Azure AI Language) supports multilingual intent recognition, automatically detects the input language of user messages, and routes queries to the most appropriate trained language model for processing, fulfilling the automatic model selection requirement. All three services integrate seamlessly to meet all specified requirements for the chatbot. Option Analysis:
A. This option is incorrect. While QnA Maker and Language Understanding address the knowledge base, chit-chat, and multilingual model requirements, and Dispatch is used to route queries between multiple LUIS apps and QnA Maker instances, this option lacks Text Analytics, which is required to perform sentiment analysis on user messages. No service included here provides sentiment analysis functionality, so it fails to meet the second core requirement.
B. This option is incorrect. Translator provides text translation, Speech enables speech-to-text and text-to-speech functionality, and Dispatch routes queries between conversational AI services. None of these services support knowledge base hosting, chit-chat, or sentiment analysis, so this option fails to meet multiple core requirements of the scenario.
C. This option is correct. QnA Maker provides the required knowledge base and chit-chat support with native multilingual deployment capabilities. Text Analytics delivers the required sentiment analysis functionality for user messages. Language Understanding supports multilingual intent detection, automatically identifies the input language of user queries, and selects the best trained language model to process the request, fulfilling all three specified requirements for the chatbot.
D. This option is incorrect. While Text Analytics provides sentiment analysis, this option lacks QnA Maker for knowledge base and chit-chat support, and lacks Language Understanding for automatic language model selection. Translator only performs text translation and does not handle routing to appropriate language models, so this option fails to meet the first and third core requirements. Key Concepts:
1. Azure AI Language Service Components: The Azure AI Language service is a unified set of natural language processing capabilities that includes question answering (formerly QnA Maker), conversational language understanding (formerly LUIS), and Text Analytics features. These components are designed to integrate seamlessly for conversational AI workloads, and are a core domain of the AI-102 certification.
2. Conversational AI Requirement to Service Mapping: For chatbot implementations, specific Azure AI services map directly to common requirements: question answering for knowledge bases and chit-chat, Text Analytics for sentiment analysis and text insight extraction, and conversational language understanding for intent classification and language-aware routing.
3. Multilingual Chatbot Functionality: Native multilingual support in Azure AI Language services allows chatbots to automatically detect input language and use pre-trained language-specific models without requiring a separate translation layer, reducing implementation complexity and improving response performance. References:
Choose the right Azure AI services for conversational AI, Question answering in Azure AI Language,
https://learn.microsoft.com/en-us/azure/ai-services/language-service/question-answering/overview