From the course: Building Intelligent Chatbots on AWS

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Testing with Lambdas

Testing with Lambdas

- [Instructor] Okay, now that I have my bot and now that I have my Lambda I'm ready to connect them together so that they can work towards this validation. And of course, again those Lambdas can do just about anything. So this is going to be a fairly simple example. You can play with the other ones as well for like the ordering flowers and so forth but you'll get a sense of how Lambdas can be used in your Lex. And by checking out Lambda courses you can see that it can do so many more things. Lambdas are incredibly powerful. Okay, so in my book, Hotel Intent, I'm going to check use a Lambda function for initialization and validation. So I check that and I'm going to save the intent. And I'm also going to set up the alias to use this lambda for the language. So I'm going to go back to the bot level, click on aliases click on the alias name. And this is kind of weird but you set up the Lambda per language. So I'm going to set this one up for English. So I'm going to click on English. And…

Contents