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

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Retry later