AI-102 Question 263
Select 3You are designing a conversational AI solution using Azure Language Understanding (LUIS). Your task is to create an intent for a 'BookFlight' functionality. Which of the following steps should you take to ensure the intent functions correctly?
- A
Add multiple utterances that represent how users might request flight booking.
- B
Train the model after adding utterances and intents.
- C
Set up a prebuilt intent for flight booking instead of creating a custom one.
- D
Define entities such as 'departure city' or 'destination city' and link them to the 'BookFlight' intent.
- E
Publish the application before adding utterances to the intent.
Show answer and explanation
Correct answers: A, B, D
Explanation
To create a functional 'BookFlight' intent, you need to define the intent and provide multiple utterances to train the model on different ways users might phrase their requests. Additionally, entities should be defined to extract relevant information like cities. Training the model is necessary after the setup, but publishing should only occur after training is complete.
- A. Correct.
Adding multiple utterances is essential to train the model to understand different ways users might phrase a flight booking request.
- B. Correct.
The model must be trained after intents and utterances have been added so it can learn to recognize user input correctly.
- C. Incorrect.
LUIS does not have a prebuilt intent specifically for flight booking. Custom intents are required for domain-specific scenarios like this.
- D. Correct.
Entities like 'departure city' or 'destination city' help the model extract key information from user input and are critical for this intent.
- E. Incorrect.
Publishing the application before adding utterances is incorrect because the model would not have any training data to work with, rendering it ineffective.