Explore the power of Language Understanding (LUIS) in identifying user intent within chatbot solutions. Discover how LUIS enables chatbots to comprehend and respond to user requests effectively, enhancing the overall user experience and driving meaningful conversations.
Table of Contents
Question
You are developing a chatbot solution in Azure. Which service should you use to determine a user’s intent?
A. Translator Text
B. QnA Maker
C. Speech
D. Language Understanding (LUIS)
Answer
D. Language Understanding (LUIS)
Explanation
Language Understanding (LUIS) is a cloud-based API service that applies custom machine-learning intelligence to a user’s conversational, natural language text to predict overall meaning, and pull out relevant, detailed information.
Design your LUIS model with categories of user intentions called intents. Each intent needs examples of user utterances. Each utterance can provide data that needs to be extracted with machine-learning entities.
The correct answer is D. Language Understanding (LUIS).
Language Understanding (LUIS) is a cloud-based conversational AI service that applies custom machine-learning intelligence to a user’s conversational, natural language text to predict overall meaning, and pull out relevant, detailed information. LUIS can be used to determine a user’s intent, which is the action the user wants to perform or the goal the user wants to achieve, such as booking a flight, ordering a pizza, or getting the weather.
LUIS can use prebuilt or custom models to identify the intents and entities from the user input and return a structured output that can be used by the chatbot solution to perform the appropriate action or response. For example, LUIS can return the following output for the user input “I want to fly to Paris on Friday”:
{
"query": "I want to fly to Paris on Friday",
"prediction": {
"topIntent": "BookFlight",
"intents": {
"BookFlight": {
"score": 0.8
},
"None": {
"score": 0.2
}
},
"entities": {
"Destination": "Paris",
"Date": "Friday"
}
}
}
The other three options are not services that can determine a user’s intent, but they can perform other tasks related to conversational AI:
- Translator Text is a cloud-based machine translation service that can translate text between over 90 languages. Translator Text can be used to translate the user input from one language to another, but it cannot extract the intent or entities from the user input.
- QnA Maker is a cloud-based knowledge base service that can create a conversational layer over your data. QnA Maker can be used to answer the user’s questions based on a predefined set of FAQs or other sources, but it cannot identify the user’s intent or entities from the user input.
- Speech is a cloud-based speech service that can perform speech recognition, speech synthesis, speech translation, or speaker identification. Speech can be used to convert the user input from speech to text or from text to speech, or to translate the user input between different languages or speakers, but it cannot determine the meaning or context of the user input.
References
Microsoft Docs > Azure > Cognitive Services > Language Understanding (LUIS) > What is Language Understanding (LUIS)?
Microsoft Azure AI Fundamentals AI-900 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure AI Fundamentals AI-900 exam and earn Microsoft Azure AI Fundamentals AI-900 certification.