O'Reilly logo

Hands-On Chatbot Development with Alexa Skills and Amazon Lex by Sam Williams

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing the whole bot

Now that we have created all of the Lambdas and tested that they all work, we can put it all together and build our chatbot. On the Lex console for this chatbot, go through each of the intents and make sure that they are all being fulfilled using the correct Lambda, and then we can click Build at the top of the page.

Once it has finished building, we can start testing it out. We can start with finding a product. Typing I want to buy a shirt starts the productFind intent flow, and we can find the stock levels of the found item:

Testing productFind

When we get shown a product, we should also be asked whether we want to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required