
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
Q2. To help the chatbot understand various ways a user might say "book an appointment," such as "schedule meeting" or "set up a call," which Lex feature should the developer configure?
A
Slots
B
Sample utterances
C
Dialog Code Hooks
D
Lambda integration
Explanation:
Sample utterances are the correct answer because:
Purpose of Sample Utterances: In Amazon Lex, sample utterances are phrases or sentences that users might say to trigger a specific intent. They help the chatbot understand different ways users might express the same request.
Why this fits the scenario: The question describes understanding various ways to say "book an appointment" - like "schedule meeting" or "set up a call." These are exactly what sample utterances are designed to handle.
Other options explained:
A) Slots: Slots are used to capture specific pieces of information (like date, time, location) within an intent, not to understand different ways of expressing the same intent.
C) Dialog Code Hooks: These are used to integrate with AWS Lambda functions to add custom business logic during conversation flows, not for understanding different phrasings.
D) Lambda integration: This is a broader concept of connecting Lex with Lambda functions, which can include dialog code hooks, but isn't specifically for understanding different phrasings.
AWS Lex Intent Structure: In Amazon Lex, an intent consists of:
Intent name: The purpose of the user's request
Sample utterances: Different ways users might express that intent
Slots: Specific data to collect
Fulfillment: How to respond or take action
Key takeaway: When you need a chatbot to understand multiple ways users might phrase the same request, you configure sample utterances in Amazon Lex.