A developer wants to detect a city name in user input and store it for later. Which combination is correct?
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 plus session variable is your go-to move. A dictionary entity populated with city names detects the location value; and a session variable stores it for later use in the conversation. 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 populated with city names detects the location value; and a session variable stores it for later use in the conversation. Pattern entities handle formatted values not free-form place names. The @sys-date entity handles dates; not locations. Intent plus confidence alone cannot capture and store a specific detected value. The correct answer, "Dictionary entity plus session variable", directly satisfies the scenario because it aligns with watsonx Assistant's design principles and the specific capability being tested. The incorrect options ("Pattern entity plus context variable", "System entity @sys-date plus slot filling", "Intent plus confidence threshold") 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.