December 2019
Intermediate to advanced
382 pages
9h 43m
English
Because Lex is not involved in this architecture, we won't have the luxury of natural language understanding, so we will need to be quite particular about how we ask things from our bot. This makes our bot follow a rule-based response model, where inputs are mapped to outputs. Using Lex would give you more artificial intelligence—inputs are mapped to intents instead of a predefined response. It's important to be aware of the difference and use the method that's most suitable for your use case.
In the following architecture diagram, you can see we are making use of the Event and Web APIs from Slack. Events are posted to our API Gateway, which invokes a Lambda function. The function performs the bot application ...