Member-only story

Save User Info with your Chatbot

Evan Selunani
3 min readNov 18, 2024

--

Happy Monday! In this guide, we’ll expand on last week’s chatbot project by learning context carryover. This technique helps your chatbot “remember” key details shared by the user during a conversation.

What’s New?

Here are the new concepts introduced in this guide:

— Context Tags: These store and check specific information throughout a conversation.

— Output Context Tags: Allow the chatbot to remember details after an intent is completed, so the information can be reused later.

— Input Context Tags: Verify if certain details are already available before an intent is triggered.

Steps in This Guide:

  1. Set Up a New Lex Chatbot
  2. Enable Memory in CheckBalance
  3. Create a FollowupCheckBalance Intent
  4. Add Finishing Touches to FollowupCheckBalance
Photo by Vidar Nordli-Mathisen on Unsplash

Step 1: Set Up a New Lex Chatbot

If you haven’t already set up a chatbot, revisit these previous guides to get started:

  1. Build a Chatbot with Amazon Lex
  2. Build a Chatbot with Custom Slots
  3. Connect a Chatbot with Lambda

Step 2: Enable Memory in…

--

--

Evan Selunani
Evan Selunani

Written by Evan Selunani

Transforming the world, one keystroke at a time.| Certified AWS Cloud Practitioner.

No responses yet