Struggling with Azure AI-102 certification? Learn how to identify missing entity values in Conversational Language Understanding models with this step-by-step guide. Perfect for exam preparation!
Table of Contents
Question
You have a Conversational Language Understanding (CLU) model. You export the model as a JSON file. The following is a sample of the file:
{
“utterances”: [
{
“text”: “I’d like to place a to-go order at the Waffle House near 5th Street in Atlanta across from Georgia Tech for an All Star breakfast with a pecan waffle and coffee”,
” intent”: “Food.PlaceOrder”,
“entities”: [
{
” entity”: “Food.Restaurant”,
“startPos”: 35,
“endPos”: 47,
“value”: MISSING
},
{
” entity”: “Food.Location”,
“startPos”: 52,
“endPos”: 61,
“value”: MISSING
},
{
” entity”: “Food.Location”,
“startPos”: 65,
“endPos”: 72,
“value”: MISSING
},
{
” entity”: “Food.Location”,
“startPos”: 84,
“endPos”: 95,
“value”: MISSING
},
{
” entity”: “Food.MenuItem”,
“startPos”: 104,
“endPos”: 119,
“value”: MISSING
},
{
” entity”: “Food.MenuItem”,
“startPos”: 125,
“endPos”: 137,
“value”: MISSING
},
{
” entity”: “Food.MenuItem”,
“startPos”: 142,
“endPos”: 147,
“value”: MISSING
}
]
}
]
}
What value represents the following Food.Location entity in the sample utterance?
” entity”: “Food.Location”,
“startPos”: 70,
“endPos”: 77,
A. 5th Street
B. Atlanta
C. Georgia Tech
D. Waffle House
Answer
B. Atlanta
Explanation
The value is Atlanta for the following sample:
” entity”: “Food.Location”,
“startPos”: 70,
“endPos”: 77,
The entities array in the JSON file includes the entities identified in the utterance of “I’d like to place a to-go order at the Waffle House near 5th Street in Atlanta across from Georgia Tech for an All Star breakfast with a pecan waffle and coffee”.
There is one intent in the JSON file which is “Food.PlaceOrder”. There are several entities, including Food.Restaurant, Food.Location, and Food.MenuItem. The entity’s value is specified by its beginning and ending character positions in the utterance. The value of Atlanta in the “Food.Location” entity has a starting position of 70 and ending position of 77.
The complete JSON file would be as follows:
{
“utterances”: [
{
“text”: “I’d like to place a to-go order at the Waffle House near 5th Street in Atlanta across from Georgia Tech for an All Star breakfast with a pecan waffle and coffee”,
” intent”: “Food.PlaceOrder”,
“entities”: [
{
” entity”: “Food.Restaurant”,
“startPos”: 35,
“endPos”: 47,
“value”: “Waffle House”
},
{
” entity”: “Food.Location”,
“startPos”: 51,
“endPos”: 66,
“value”: 5th Street
},
{
” entity”: “Food.Location”,
“startPos”: 70,
“endPos”: 77,
“value”: Atlanta
},
{
” entity”: “Food.Location”,
“startPos”: 89,
“endPos”: 93,
“value”: Georgia Tech
},
{
” entity”: “Food.MenuItem”,
“startPos”: 102,
“endPos”: 117,
“value”: “All Star breakfast”
},
{
” entity”: “Food.MenuItem”,
“startPos”: 123,
“endPos”: 135,
“value”: “pecan waffle”
},
{
” entity”: “Food.MenuItem”,
“startPos”: 140,
“endPos”: 145,
“value”: “coffee”
}
]
}
]
}
All of the other choices are incorrect because they do correspond to the character positions in the utterance.
Microsoft Azure AI Engineer Associate AI-102 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure AI Engineer Associate AI-102 exam and earn Microsoft Azure AI Engineer Associate AI-102 certification.