AI-102 Question 264
Select 3You are building a conversational bot using Azure AI and need to create intents and add utterances in the Language Understanding (LUIS) service. The bot will handle customer inquiries related to order status and product returns. Which of the following steps are required to correctly set up intents and utterances in LUIS?
- A
Create an intent for each type of user query, such as 'OrderStatus' and 'ProductReturn'.
- B
Add example utterances that represent how users might phrase their questions for each intent.
- C
Set up a default intent to handle all user inputs that do not match any defined intent.
- D
Train and test the language model after adding intents and utterances.
- E
Manually assign intents to user queries during runtime to ensure accurate classification.
- F
Enable sentiment analysis to improve intent recognition.
Show answer and explanation
Correct answers: A, B, D
Explanation
To set up intents and utterances in the LUIS service, it is necessary to create specific intents for different user queries, provide example utterances for training the model, and train/test the model to ensure effective classification. These steps enable LUIS to understand and classify user input based on the trained language model. Other features like fallback intents and sentiment analysis are optional and not directly related to the core process of creating intents and utterances.
- A. Correct.
Correct. You need to create an intent for each specific type of user query to classify user inputs appropriately.
- B. Correct.
Correct. Adding example utterances helps train the model to recognize variations in user phrasing for each intent.
- C. Incorrect.
Incorrect. While a default fallback intent can be helpful in some scenarios, it is not a required step in the creation of intents and utterances in LUIS.
- D. Correct.
Correct. Training and testing the language model are essential to ensure the model learns from the provided intents and utterances.
- E. Incorrect.
Incorrect. Intent classification in LUIS is automated based on the trained model and does not require manual assignment during runtime.
- F. Incorrect.
Incorrect. Sentiment analysis is a separate feature and does not directly improve intent recognition.