
Answer-first summary for fast verification
Answer: Create separate entities for each task type and include specific variations for setting reminders, playing music, and providing weather updates.
Creating separate entities for each task type allows the model to better understand the specific information required for each task and extract it accurately. Including specific variations for each task type helps the model recognize and classify the user's messages correctly. Option A would not be effective as it would not allow the model to differentiate between different tasks. Option C is incorrect as using regular expressions alone may not capture all the variations and nuances of user messages. Option D is not a viable approach as not creating any entities would make it difficult for the model to extract relevant information from user messages.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are developing a language understanding model for a virtual assistant that can handle various tasks such as setting reminders, playing music, and providing weather updates. How would you approach the task of creating entities to extract relevant information from user messages?
A
Create a single entity called 'task' and include all possible variations of setting reminders, playing music, and providing weather updates.
B
Create separate entities for each task type and include specific variations for setting reminders, playing music, and providing weather updates.
C
Create a single entity for each task type and use regular expressions to extract the relevant information.
D
Do not create any entities and rely solely on the model's ability to understand the context of user messages.
No comments yet.