Summary
In this chapter, we built the contact assistant, a chatbot that allows the user to search for contact information using a voice or text conversational interface. We built the contact assistant's conversational interface using Amazon Lex. We learned the development paradigm of Amazon Lex to build a custom AI capability, including concepts such as intents, utterances, prompts, and confirmations. The contact assistant supports two intents, LookupPhoneNumberByName and MakePhoneCallByName. The task fulfillment of these intents is implemented using AWS Lambda. We also designed these two intents to be context aware by using Amazon Lex's session attributes; being context aware reduces the cognitive burden of the user and makes the chatbot ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access