AI-102 Question 262
Select 3You are developing a chatbot using Azure Language Understanding (LUIS) to assist users in booking hotel rooms. You need to create an intent that identifies when a user wants to book a room. Which steps should you take to accurately configure the intent and improve its recognition during conversational interactions?
- A
Create an intent named 'BookRoom' and add sample utterances such as 'I want to book a hotel room'.
- B
Add utterances that cover various ways users might express booking a room, such as 'Reserve a room for me' or 'Can I get a hotel for tomorrow night?'.
- C
Use only one generic utterance like 'Book a room' in the 'BookRoom' intent to keep the model simple.
- D
Add entities such as 'hotel name' and 'check-in date' to extract relevant data from the utterances.
- E
Manually assign every possible utterance to the 'BookRoom' intent to ensure accuracy.
Show answer and explanation
Correct answers: A, B, D
Explanation
To properly create an intent in Azure LUIS, you need to define the intent with a clear name and provide a variety of sample utterances to train the model effectively. Adding entities allows the model to extract specific details from user inputs, which enhances the chatbot's ability to provide meaningful responses. Avoid over-simplifying or over-engineering, as LUIS leverages machine learning to generalize from well-structured training data.
- A. Correct.
Correct: Creating an intent named 'BookRoom' and adding sample utterances is essential to define the intent's purpose and train the model.
- B. Correct.
Correct: Adding varied utterances improves the model's ability to generalize and recognize different ways users might express the intent.
- C. Incorrect.
Incorrect: Using only one generic utterance will limit the model's understanding and reduce its ability to handle diverse user inputs.
- D. Correct.
Correct: Adding entities helps extract important details like hotel name and check-in date, making the intent more functional and actionable.
- E. Incorrect.
Incorrect: Manually assigning every possible utterance is impractical and unnecessary because LUIS uses machine learning to generalize from the provided examples.