Introduction About AWS Lex and its Usage
Posted By : Ankit Uniyal | 28-Feb-2018
In this tutorial, we will discuss about AWS Lex and its usage. AWS lex is a chatbot service which allows you to build an application using speech and text interface and it uses the same technology which powers AWS Alexa.
It is an AWS Service through which you can build conversational interface for any applications with the help of speech and text.Now, to create a bot we just need to provide basic conversational flow in its console (i.e on AWS Lex console). It has a pre-built integration with AWS Lambda through which we can interact with AWS lambda and can validate the AWS Lex request and can respond accordingly.
Below are some of the steps which we need to follow to create a basic chat bot service :
1.First we need to create a bot which we can link with one or more than one intent, basically intent defined the user goal (i.e what user wants to achieve).
2.Amazon Lex console has provided the test window through which we can test the chat bot.
3.Now, we can publish a version and can also create an alias.
4.Now, at the end we can deploy the bot on any platforms such it can be any mobile application,or any messaging service like facebook messenger.
Now, before moving further let's discuss about the terminologies using in AWS Lex :
1. Bot : A bot is used to perform automatic tasks such as ordering pizza, ordering food, ordering flowers and so on.Automatic Speech Recognition (ASR) and Natural Language Understanding (NLU) is powered to AWS Lex which is also used to power Amazon Alexa.
2. Intent : It represents the action that user wants to perform and a bot can supports more than one intent.
3. Slot : It represents the data which user has to provide in run time so that Lex can fulfill the intent.
Thanks
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Ankit Uniyal
Ankit has knowledge in Javascript, NodeJS, AngularJS and MongoDB also have experience in using AWS Services.