I've been working with AWS and Lex for 3 years and I still find new things that I didn't know before. As long as you're learning then you're making progress!
If you want to build chatbots then there are loads of tools which you can use. You could use Lex or one of those other systems. If you want to learn Lex, then you just need to set up an AWS account. Google "get started AWS account" and once your account is set up you'll be able to follow this tutorial and create your Lex chatbot
No, there's no way to add formatting in lex responses like that. There are cards that you can respond with which contain links if that would work for you?
This is great stuff. I get to replace our organizations chat with Lex. It’s going to be fun and looking forward to adding voice as well. Making the bot available to our users of assistive technologies. Such great technology ☕️
How complex of a chatbot are you building? I spent 2 years working with Lex and as you increase the number of intents a lot, things can get messy. I ended up building my own chat engine and we moved away from Lex.
@@CompleteCoding would you mind sharing what you decided to transition to and if it meets your needs? We are searching for one that will allow us to have a better experience, but ours is already pretty complex so this worries me that Lex may not be in our best interest.
@@tiffanylynn4320 I actually built my own chatbot engine. It was designed to be based more on button presses than natural language but was able to hook into any of the NLP systems (lex, dialogFlow, watson) when we needed it to. Lex can be ok but if there are complex paths that jump between intents then it can be pretty messy.
@@CompleteCoding looking for something that doesn’t get messy when we jump between intents. I want a user to be able to flow freely if they change directions. Any that you’d recommend us looking into since it sounds like Lex may not meet our needs? I worry about our bot(s) becoming confused if we build too many paths/options. I would like to be able to have a lot of diverse experiences and larger paths that a user can take. I know we will never be able to replace a live chat experience but I want to try to get as close as possible to being able to answer a multitude of questions.
@@tiffanylynn4320 I had the same issues as you. I wanted a given user answer to push them into a different intent. I got it working but it was HACKY and very fragile. One option could be using amazon connect chat. It allows you to create a more path based chat experience but still with a Lex at each question for free text understanding. I think that gives a good level of control but also freedom. It can get a bit expensive though compared with other bot technology. I've been out of the bot space for a while now so not up with what the latest "Best in Class" would be.
You can add another slot of lastName with a prompt of 'What is your lastName?' and then you can change the message to "Hi there {firstName} {lastName}"
In Lex you can add Lambda handle an intent. In this lambda you can do whatever you want, including hitting another API. If you set this up then any time someone says an utterance that triggers that intent, the lambda will run and call your API.
If you want to read from an S3 bucket or dynamo database, you'll need to create a Lambda. This video series will show you how to create a Lambda that can read from S3 or Dynamo bit.ly/2OVUY8O When you've created the Lambda, you can select 'AWS Lambda Function' and then choose the lambda you created. There is a specific format for the data that you need to return from the Lambda for it to work with Lex and this is all in the Lex docs
unfortunately the language understanding in lex isn't perfect and will miss out on contractions such as that. It's always better to try an add as many utterances as you can so that it has the best data to train the language model from
Hey, absolutely crushed with the tutorial. I just wanted little information regarding how to invoke functions when certain questions are asked. (I'm building a chatbot for visually impaired as a part of my final year engineering project). If the user says navigate me to "" how will you make the bot respond saying "navigating you to " and then opens the google maps to do the actual work?
There is a section in each Lex intent called "Fulfillment". In this tutorial, we only used 'return parameters to the user' but there is an option to trigger a lambda. In that lambda you take the parameters of the request (location) and then you can do things in that Lambda. In your case that would be to trigger the user's device to open maps with the directions. How you make the user's device open maps will be the tricky part
If you go into "Channels" in the Lex editor, you can set up the bot to work with Facebook. This can take a few hours. If you want it to be public then you'll need to do a load of stuff on Facebook to verify that you are a business
@@soulsstreet7 That's a great question. While Facebook does support quick replies, unfortunately Lex doesn't and this is something that I've raised with them. The only way to do something similar is to send card replies with buttons on. This will mean that you need to have a Lambda for each intent that sends back a card response.
Sending emails is relatively easy. I already have a video on simple email service (SES). Receiving emails is much harder and would be too much for a video.
It depends on how you want to interact with your chatbot. You could create a website that has your chatbot on it and then you can just navigate to that site using your raspberry pi. I hope to make a video on how to do this in the future!
Lots of Lex tutorials out there but few like this that has been well thought through and practised before committing to RUclips. You should do more!
Thanks Paul, I really appreciate the support. What other sorts of videos would you like me to do?
The world need more people like you keep doing what you doing you will go in far in life.
Thanks! A year on and it's going pretty well
Very good! I learned a lot. Now, I will go over it 3 or 4 more times.
I've been working with AWS and Lex for 3 years and I still find new things that I didn't know before. As long as you're learning then you're making progress!
Continue the tutorial! Great stuff!
Thanks Connor
After time, Amazon Lex UI changed. I can't find Response area. Are they changed into Slots or confirmation responses?
I've not used lex in about 2 years, sorry
Hi there I'm newbie want to learn this skill,Where can I get start from?
If you want to build chatbots then there are loads of tools which you can use. You could use Lex or one of those other systems.
If you want to learn Lex, then you just need to set up an AWS account. Google "get started AWS account" and once your account is set up you'll be able to follow this tutorial and create your Lex chatbot
Hi how do you make a link in the response message of chat bot? Is there any formatting or markdown available around there?
No, there's no way to add formatting in lex responses like that. There are cards that you can respond with which contain links if that would work for you?
Exactly what I needed. Thank you.
Glad it was useful
continue with the tutorials
helped me a lot
it's really interesting
I'm really glad you found it useful
@@CompleteCoding Can you just one more tutorial about the Response Cards, please it will help me!
@@davidjohnson9021 That's a great idea. I'll try and get that done asap
Thanks for your response
Try not to stop posting the videos
Will help many people
Great tutorial! Thank you for sharing
Glad it was helpful!
This is great stuff. I get to replace our organizations chat with Lex. It’s going to be fun and looking forward to adding voice as well. Making the bot available to our users of assistive technologies. Such great technology ☕️
How complex of a chatbot are you building? I spent 2 years working with Lex and as you increase the number of intents a lot, things can get messy. I ended up building my own chat engine and we moved away from Lex.
@@CompleteCoding would you mind sharing what you decided to transition to and if it meets your needs?
We are searching for one that will allow us to have a better experience, but ours is already pretty complex so this worries me that Lex may not be in our best interest.
@@tiffanylynn4320 I actually built my own chatbot engine. It was designed to be based more on button presses than natural language but was able to hook into any of the NLP systems (lex, dialogFlow, watson) when we needed it to.
Lex can be ok but if there are complex paths that jump between intents then it can be pretty messy.
@@CompleteCoding looking for something that doesn’t get messy when we jump between intents. I want a user to be able to flow freely if they change directions. Any that you’d recommend us looking into since it sounds like Lex may not meet our needs? I worry about our bot(s) becoming confused if we build too many paths/options.
I would like to be able to have a lot of diverse experiences and larger paths that a user can take. I know we will never be able to replace a live chat experience but I want to try to get as close as possible to being able to answer a multitude of questions.
@@tiffanylynn4320 I had the same issues as you. I wanted a given user answer to push them into a different intent. I got it working but it was HACKY and very fragile.
One option could be using amazon connect chat. It allows you to create a more path based chat experience but still with a Lex at each question for free text understanding. I think that gives a good level of control but also freedom. It can get a bit expensive though compared with other bot technology.
I've been out of the bot space for a while now so not up with what the latest "Best in Class" would be.
Thank you so much but how do i program it to say first name and last name?
You can add another slot of lastName with a prompt of 'What is your lastName?' and then you can change the message to "Hi there {firstName} {lastName}"
Hey !
Great tutorial.
Could you please tell about how to call an api in lex ?
In Lex you can add Lambda handle an intent. In this lambda you can do whatever you want, including hitting another API.
If you set this up then any time someone says an utterance that triggers that intent, the lambda will run and call your API.
Thank for this nice tutorial. Great start..
My pleasure. I'm glad you found it useful!
It's still missing out fulfillment.
What if I want to read information from a json or CSV file , how would I train my bot foe that , please help
If you want to read from an S3 bucket or dynamo database, you'll need to create a Lambda. This video series will show you how to create a Lambda that can read from S3 or Dynamo bit.ly/2OVUY8O
When you've created the Lambda, you can select 'AWS Lambda Function' and then choose the lambda you created. There is a specific format for the data that you need to return from the Lambda for it to work with Lex and this is all in the Lex docs
Great tutorial...Thank you.
My pleasure Hassan. I'm glad it was useful
great video
Glad you enjoyed it
I create the sample utterance 'what is...' then ask 'what's ...' after building. but it doesn't work
unfortunately the language understanding in lex isn't perfect and will miss out on contractions such as that. It's always better to try an add as many utterances as you can so that it has the best data to train the language model from
Thanks!
No problem!
did u work with the lambda function?
with Lex you don't need to use any Lambda functions. This is different to how Alexa skills work
How to integrate Amazon lex in web site?
There is an article here on how to do that
aws.amazon.com/blogs/machine-learning/deploy-a-web-ui-for-your-chatbot/
Thank you so much for this tutorial! It helped a lot. Sry 3 year late lol
No worries!
Hey, absolutely crushed with the tutorial. I just wanted little information regarding how to invoke functions when certain questions are asked. (I'm building a chatbot for visually impaired as a part of my final year engineering project). If the user says navigate me to "" how will you make the bot respond saying "navigating you to " and then opens the google maps to do the actual work?
There is a section in each Lex intent called "Fulfillment". In this tutorial, we only used 'return parameters to the user' but there is an option to trigger a lambda. In that lambda you take the parameters of the request (location) and then you can do things in that Lambda. In your case that would be to trigger the user's device to open maps with the directions. How you make the user's device open maps will be the tricky part
Bro plz give the details of it bro .I aslo wanted to do the project of AWS chat bot
how can i put this on facebook messenger on fan page?
If you go into "Channels" in the Lex editor, you can set up the bot to work with Facebook. This can take a few hours. If you want it to be public then you'll need to do a load of stuff on Facebook to verify that you are a business
@@CompleteCoding thanks, and second question, how can I do it with clickeable options to the user instead to write on it ? (More simple)
@@soulsstreet7 That's a great question. While Facebook does support quick replies, unfortunately Lex doesn't and this is something that I've raised with them.
The only way to do something similar is to send card replies with buttons on. This will mean that you need to have a Lambda for each intent that sends back a card response.
Hi, How can we send chat script via email?
Sending emails is relatively easy. I already have a video on simple email service (SES). Receiving emails is much harder and would be too much for a video.
Muy bueno, gracias!
my pleasure
so uhhh where is the next video in the series???
I've moved away from Lex. I worked with it for 2 years and it's good for simple projects but isn't great as a full chatbot solution.
How can I put my Amazon Lex bot I created and put on a raspberry pi 3?
It depends on how you want to interact with your chatbot. You could create a website that has your chatbot on it and then you can just navigate to that site using your raspberry pi. I hope to make a video on how to do this in the future!
Can you do a tutorial on how to pull stuff from a database to respond to the user?
you sound like amazon lex
When you use it as much as I did, it takes over your mind