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.

Lex and Lambdas

Lex and Lambdas

- [Instructor] So I've mentioned the aspect of Lambdas within Lex. Lambdas are serverless functions. Yes, server development without the server administration, dreams do come true. I love that. I love how powerful Lambdas are. You can write code in Python, PHP in a variety of different languages have access to basically all AWS services, databases, push notifications, basically everything in AWS. So Lambdas are your gateway from your bot into just about everything else. Back in the Lex documentation, I can scroll down to Enabling custom logic with Lambda functions. And it gives you a list of places where you can call a Lambda. Before the conversation starts. For example, after telling the user the recognized intent. So this is right after the intent starts. After eliciting a slot value. So whenever the user responds to a message from the bot asking what they want to do, you can run a Lambda. Between each retry, when confirming the intent, fulfilling the intent, and so forth. There's…

Contents