A simple bot made using AWS Amazon Lex to suggest some good movies to its users.
Amazon Lex is an AWS service for building conversational interfaces for applications using voice and text. Amazon Lex provides the deep functionality and flexibility of natural language understanding (NLU) and automatic speech recognition (ASR) so you can build highly engaging user experiences with lifelike, conversational interactions, and create new categories of products.
These are some of the useful resources to help you get started creating your first bot
- Amazon Lex
- Programming Model
- Managing conversations
- Using Lambda Functions
- Testing a bot using the console
- Examples of Amazon Lex Bots
- Deploying Amazon Lex Bots
To use this code in your lamda function, you have to do few things:
- Register and get your api key from here to get list of movies.
Note:
Give Application URL = "NA" if you don't have one when they ask for your app details. - Set api_key as an environmental variable in your lambda function.
- These are some things you can customize:
i) category : Slot variable to take input from user
ii) WelcomeIntent : Intent for greeting user
iii) RecommendMovie : Intent for suggesting movies