DEV Community

Cover image for CloudFormation: Build a Chatbot with Multiple Slots
Kemisola
Kemisola

Posted on

1

CloudFormation: Build a Chatbot with Multiple Slots

I started working on Chatbot series and it has been eye-opening. One thing I didn't expect in this project was the significant amount of time required for training the bot to recognize and respond to various user intents effectively. Initially, I anticipated that setting up Amazon Lex would be straightforward, but I quickly realized that users express their inquiries in many different ways, which added complexity to the intent recognition process.

In this Project:

👉I configured multiple slots with a shared slot type. I set up two different slots, sourceAccountType and targetAccountType, that both utilize the same underlying accountType slot. This streamlines data handling in my bot.

👉I implemented a confirmation prompt that repeats the transaction details back to the user for verification.

👉I used the conversation flow and visual builder features that I got familiar with and will henceforth, be used to create a Lex chatbot!

👉I used AWS CloudFormation to automate the deployment of my banking bot. This not only saved time but also made sure all resources were correctly configured and linked!

Here is a link to the Project: https://drive.google.com/file/d/1lgXe907z7CjPxCnDk821yw3Iu8UX2swJ/view?usp=sharing

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay