A developer needs to detect when a user mentions any of 20 known competitor company names. Which entity type is best?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Todd Lammle: 'Imagine you're building a chatbot and this exact situation comes up — dictionary entity with the 20 competitor names is your go-to move. A dictionary entity with the 20 specific competitor names provides the most reliable detection; mapping each name to a canonical entity value. This is a classic Domain 2: Design and Extend Conversations concept you'll want locked in before exam day.'
Full explanation below image
Full Explanation
A dictionary entity with the 20 specific competitor names provides the most reliable detection; mapping each name to a canonical entity value. @sys-organization may detect many organization names but cannot be constrained to the specific competitor list. Pattern entities match formats; not specific proper nouns. Context variables store values; they do not detect text. The correct answer, "Dictionary entity with the 20 competitor names", directly satisfies the scenario because it aligns with watsonx Assistant's design principles and the specific capability being tested. The incorrect options ("System entity @sys-organization", "Pattern entity with a regex matching company name formats", "Context variable from an API response") may appear relevant but each misses a key requirement or introduces a step that is either unnecessary or belongs to a different workflow. Mastering the distinction between these approaches is essential for effective watsonx Assistant implementations and is a core focus of the Domain 2: Design and Extend Conversations section of the certification exam.