exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 14 question 2 discussion

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

HOTSPOT -
You are developing the knowledgebase by using Azure Cognitive Search.
You need to build a skill that will be used by indexers.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: "categories": ["Locations", "Persons", "Organizations"],
Locations, Persons, Organizations are in the outputs.
Scenario: Contoso plans to develop a searchable knowledgebase of all the intellectual property
Note: The categories parameter is an array of categories that should be extracted. Possible category types: "Person", "Location", "Organization", "Quantity",
"Datetime", "URL", "Email". If no category is provided, all types are returned.
Box 2: {"name": " entities"}
The include wikis, so should include entities in the outputs.
Note: entities is an array of complex types that contains rich information about the entities extracted from text, with the following fields name (the actual entity name. This represents a "normalized" form) wikipediaId wikipediaLanguage wikipediaUrl (a link to Wikipedia page for the entity) etc.
Reference:
https://docs.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-recognition

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
Eltooth
Highly Voted 2 years, 7 months ago
Answer is correct however... the Entity Recognition skill is now discontinued replaced by Microsoft.Skills.Text.V3.EntityRecognitionSkill. Also categories will only allow "Person" as valid category type - not "Persons". This (old) version allows output to be either "entities" or "namedEntities" New version only allows "namedEntities" from answer list. https://docs.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-reco
upvoted 22 times
BenALGuhl
1 month, 4 weeks ago
In the new V3 model you link to (https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-recognition), namedEntities are not including any external source links like wiki. So namedEntities cannot be the answer. This functionality has been moved into a separate skill Entity Linking: https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-linking-v3 So as it stands now, I would say the question would require alteration so that a second skill can be called to satisfy the requirement of supplying the sources in the output.
upvoted 2 times
...
rober13
12 months ago
So, the second option should be nameEntities, isn't it ??
upvoted 5 times
...
rdemontis
1 year, 4 months ago
thanks for your contribution
upvoted 4 times
...
...
az999999
Highly Voted 1 year, 8 months ago
I also got this on July 3 2023 exam, but it's changed to Skills.Text.V3.
upvoted 10 times
...
syupwsh
Most Recent 1 month, 1 week ago
Dropdown 1 is "categories": ["Locations", "Person", "Organization"] because it specifies the categories of entities that the EntityRecognitionSkill should extract from the text. This matches the outputs defined in the skill, which are "person," "locations," and "organization." Dropdown 2 is { "name": "namedEntities" } because it aligns with the standard naming convention used in Azure Cognitive Search for storing the results of entity recognition. Using "namedEntities" makes it clear that the output includes various types of recognized entities, which can include persons, locations, organizations, etc.
upvoted 2 times
...
mrg998
6 months ago
person and namedEntity
upvoted 3 times
...
JuneRain
7 months ago
This question was in the test I took in August 2024
upvoted 4 times
...
takaimomoGcup
10 months ago
Is this question still available on May 21, 2024?
upvoted 2 times
...
takaimomoGcup
10 months ago
Is this question still available on May 21, 2024?
upvoted 2 times
...
Murtuza
12 months ago
The document processing solution aims to extract information related to persons, locations, and organizations. Additionally, it should recognize named entities and assign them to appropriate categories.
upvoted 2 times
...
Gvalli
1 year, 2 months ago
A modified version of this was in the exam today.
upvoted 5 times
...
zellck
1 year, 8 months ago
Gotten this in Jul 2023 exam.
upvoted 5 times
...
RamonKaus
2 years, 7 months ago
Agreed
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago