Skip to Content

AI-102: How to Master Azure AI Language Service for Customer Feedback Analysis?

Pass the Microsoft AI-102 Azure AI Engineer exam! Learn to use Azure AI Language service for entity recognition and key phrase extraction. This guide covers JSON code examples, exam questions, and study tips to help you ace the AI-102 certification and boost your career.

Table of Contents

Question

Your organization, Nutex Corporation, is developing a customer service application that automatically extracts part names, dates, locations, part numbers, and any other significant items from customer feedback using the Azure AI Language service. The following JSON input is part of the request you send to the API to extract items from a text input. Complete the JSON code by filling in the missing properties.

Complete the following JSON code snippet for extracting entities using Azure AI Language service:

{
"documents": [
{
"language": "en",
"id": "1",
"text": "John Doe visited our New York office on October 15, 2024, and was impressed with our latest product, the SmartHome 3000."
}
],
"tasks": [
{
__M I S S I N G___, 
"parameters": {
"model-version": "latest"
}
}
]
}

Which of the following is the missing code?

A. “model-version”: “EntityRecognition”
B. “model-version”: “KeyPhraseExtraction”
C. “kind”: “EntityRecognition”
D. “name”: “EntityRecognition”
E. “name”: “KeyPhraseExtraction”
F. “kind”: “KeyPhraseExtraction”

Answer

C. “kind”: “EntityRecognition”

Explanation

Below is the complete JSON code.

{
"documents": [
{
"language": "en",
"id": "1",
"text": "John Doe visited our New York office on October 15, 2024, and was impressed with our latest product, the SmartHome 3000."
}
],
"tasks": [
{
"kind": "EntityRecognition",
"parameters": {
"model-version": "latest"
}
}
]
}

The correct way to specify the task for extracting entities in the Azure AI Language service is by adding “kind”: “EntityRecognition” in the “tasks” section of the JSON code. This field defines the operation that the service performs on the input text. Entities are specific information that must be extracted from the text, such as part names, part numbers, dates, locations, and any other significant items

You would not choose “kind”: “KeyPhraseExtraction” in the “tasks” section of the JSON code.. Key phrases are the topics or main concepts identified within the text. They summarize the essential points and can be useful in content tagging.

You would not add “name”: “EntityRecognition” or “name”: “KeyPhraseExtraction” in the given JSON code. This is not the correct JSON structure you would follow for entity extraction.

You would not add “model-version”: “EntityRecognition” or “model-version”: “KeyPhraseExtraction” in the given JSON code. The “Model Version” parameter is already mentioned in the provided JSON code. This option does not match the correct format required for the JSON code.

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.