exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 3 question 79 discussion

Actual exam question from Microsoft's AI-102
Question #: 46
Topic #: 3
[All AI-102 Questions]

You are building an Azure AI Language Understanding solution.

You discover that many intents have similar utterances containing airport names or airport codes.

You need to minimize the number of utterances used to train the model.

Which type of custom entity should you use?

  • A. Pattern.any
  • B. machine-learning
  • C. regular expression
  • D. list
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
StelSen
3 weeks, 4 days ago
Selected Answer: A
Pattern.any entities are ideal when you want to reduce the number of utterances needed for training. They act as placeholders in patterns (like {fromAirport} or {toAirport}), and can match any word or phrase, such as airport names or codes. This is especially useful when you have many similar utterances that differ only by variable data like city names, airport codes, etc.
upvoted 2 times
...
marcellov
2 months, 2 weeks ago
Selected Answer: A
To minimize the number of utterances needed for training when many intents share similar utterances with variable airport names or codes, you should use the Pattern.any custom entity. This entity type allows you to define patterns with placeholders for variable parts (like airport names/codes), reducing the need to enumerate every possible utterance variation. Suppose you have intents like: BookFlight CheckFlightStatus And users might say things like: "Book a flight to JFK" "Book a flight to London Heathrow" "Check the status of flight DL123" "Check the status of flight to SFO" The variable parts are airport names, airport codes, or flight numbers. You define a Pattern.any entity called, for example, @destination or @flightCode. Intent: BookFlight Pattern: "Book a flight to {@destination}" Intent: CheckFlightStatus Pattern: "Check the status of flight {@flightCode}" "Check the status of flight to {@destination}"
upvoted 1 times
...
syupwsh
4 months, 4 weeks ago
Selected Answer: A
Pattern.any is CORRECT because it is used to identify entities that can have multiple forms, such as "John F. Kennedy International Airport" or "JFK." In this case, the Pattern.any entity allows the Language Understanding model to recognize both full airport names and their corresponding codes as the same entity, without needing to list every possible variation in the training utterances. This approach minimizes the number of utterances required and ensures consistent entity recognition. https://learn.microsoft.com/en-us/azure/ai-services/luis/concepts/patterns-features#patternany-entity I would go for A
upvoted 2 times
...
pabsinaz
6 months, 2 weeks ago
Selected Answer: D
Either A or D, both works. A less development effort, D a better solution. However, the requirement is not talking about minimizing development efforts.
upvoted 1 times
...
pabsinaz
6 months, 2 weeks ago
Selected Answer: D
Either A or D, both works. A less development effort, D a better solution. Howeve,r the requirements it is not talking to minimize development effort.
upvoted 1 times
...
MASANASA
6 months, 4 weeks ago
Selected Answer: D
pattern.any https://learn.microsoft.com/ja-jp/azure/ai-services/luis/reference-entity-pattern-any?tabs=V2 list https://learn.microsoft.com/en-us/azure/ai-services/language-service/conversational-language-understanding/concepts/entity-components
upvoted 2 times
...
Andriki
7 months, 1 week ago
Selected Answer: D
List: fixed, close set of related words
upvoted 2 times
...
nastolgia
7 months, 2 weeks ago
Selected Answer: D
It shoul be LIST
upvoted 1 times
...
pmd30
8 months ago
D. List https://learn.microsoft.com/en-us/azure/ai-services/luis/reference-entity-list?tabs=V2 Suppose the app has a list, named Cities, allowing for variations of city names including city of airport (Sea-tac), airport code (SEA), postal zip code (98101), and phone area code (206). List item Item synonyms Seattle sea-tac, sea, 98101, 206, +1 Paris cdg, roissy, ory, 75001, 1, +33 book 2 tickets to paris In the previous utterance, the word paris is mapped to the paris item as part of the Cities list entity. The list entity matches both the item's normalized name as well as the item synonyms.
upvoted 1 times
...
Alan_CA
8 months, 1 week ago
Selected Answer: D
LIST entity
upvoted 1 times
...
RajuTS
9 months, 2 weeks ago
USing a list entity allows you to define a set of values and their synonyms which will help minimize the number of utterances needed to train the model. Hence the answer must be: D) List
upvoted 1 times
...
mrg998
10 months ago
Selected Answer: A
Pattern, you can use this to summarise multiple utterances into intents
upvoted 1 times
...
famco
10 months, 1 week ago
"Patterns are designed to improve accuracy when multiple utterances are very similar. A pattern allows you to gain more accuracy for an intent without providing several more utterances." So, it has to be pattern. The only one in the list is Pattern.Any. Looks like the MIcrosoft guy just read this line and made the question and randomly chose a pattern type
upvoted 1 times
famco
10 months, 1 week ago
regular-expression entity is given as an option to trick those who actually read the example for that using flight code. If you did not read much, then you are safe in Microsoft world
upvoted 1 times
...
...
Moneybing
10 months, 3 weeks ago
Selected Answer: D
Copied entire question to Copilot, and Copilot says D. To minimize the number of utterances used to train the model, you should use a list entity. List entities allow you to define a list of values (such as airport names or codes) and associate them with a single entity. This way, you can handle multiple similar utterances with a single entity reference, making your model more efficient and concise.
upvoted 3 times
famco
10 months, 1 week ago
it will be hard to list all the possible flight codes and flight names in a list.
upvoted 3 times
...
...
anto69
11 months ago
Selected Answer: A
Pattern.any according to Copilot
upvoted 3 times
...
moonlightc
11 months, 1 week ago
Selected Answer: A
Answer is A according to ChatGPT
upvoted 2 times
...
Toby86
1 year ago
A. Pattern Any From: https://learn.microsoft.com/en-us/azure/ai-services/luis/concepts/patterns-features#patternany-entity For Airports this means: You can exrpess the Airport Name in Full as "John F. Kennedy International Airport" or in short with the code as "JFK" LUIS will have to get both as the same
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...