Learn how to use intents, entities, and utterances to build a Language Understanding application that can understand and execute user commands for a home automation device.
Table of Contents
Question
You are authoring a Language Understanding application to support a home automation device. You want users to be able to give specific instructions to switch on lights, like “Turn on the light”. What should you create?
A. Add utterances similar to “Turn on the light” in the “None” intent
B. Define a “light” entity and a “TurnOn” intent with utterances similar to “Turn on the light”.
C. Create a “turnOn” entity and a “light” intent
Answer
B. Define a “light” entity and a “TurnOn” intent with utterances similar to “Turn on the light”.
Explanation
The intent encapsulates the task (turning on the light) and the entity specifies the item to which the intent is applied (the light).
The correct answer is B. Define a “light” entity and a “TurnOn” intent with utterances similar to “Turn on the light”.
A Language Understanding application is composed of intents, entities, and utterances. Intents are the actions or goals that the user wants to achieve, such as turning on a light or booking a flight. Entities are the details or information that are relevant to the intents, such as the name of the light or the destination of the flight. Utterances are the natural language expressions that the user says or types to communicate their intents and entities.
To support a home automation device, you need to define the intents and entities that correspond to the user’s commands. For example, if you want users to be able to switch on lights, you need to create a “TurnOn” intent that represents the action of turning on something. Then, you need to define a “light” entity that represents the object that can be turned on. You also need to provide some utterances that are examples of how the user might say or type the command, such as “Turn on the light”, “Switch on the lamp”, or “Illuminate the room”. These utterances help the Language Understanding application to learn how to recognize the intent and the entity from the user’s input.
By defining a “light” entity and a “TurnOn” intent with utterances similar to “Turn on the light”, you can enable the Language Understanding application to understand the user’s specific instructions and extract the relevant information. This way, the home automation device can perform the desired action based on the user’s command.
Microsoft Azure AI Fundamentals AI-900 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure AI Fundamentals AI-900 exam and earn Microsoft Azure AI Fundamentals AI-900 certification.