
Answer-first summary for fast verification
Answer: Define entities and provide a few examples for each, along with patterns if applicable.
Defining entities with examples and patterns helps the model to learn and recognize these entities more accurately from user utterances. This approach improves the model's ability to extract relevant information from the text.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Consider a scenario where you need to create entities for a language understanding model that handles travel bookings. The entities should include 'Destination', 'Date', and 'TravelClass'. Explain how you would define these entities and what strategies you would use to ensure they are correctly extracted from user utterances.
A
Define entities without specifying any patterns or examples.
B
Define entities and provide a few examples for each, along with patterns if applicable.
C
Define entities but do not provide any examples or patterns.
D
Define entities and only provide patterns without examples.