
Answer-first summary for fast verification
Answer: Sample utterances
## Explanation **Sample utterances** are the correct answer because: 1. **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. 2. **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. 3. **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. 4. **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.
Author: Ritesh Yadav
Ultimate access to all questions.
No comments yet.
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