📌 Hey everyone! Enjoying these NLP tutorials? Check out my other project, AI Demos, for quick 1-2 min AI tool demos! 🤖🚀 🔗 TH-cam: www.youtube.com/@aidemos.futuresmart We aim to educate and inform you about AI's incredible possibilities. Don't miss our AI Demos TH-cam channel and website for amazing demos! 🌐 AI Demos Website: www.aidemos.com/ Subscribe to AI Demos and explore the future of AI with us!
Hi Pradip, I hope you're doing well! I’m working on a chatbot project where the conversation flow is dynamic, just like a binary tree. The chatbot would ask questions based on user responses, and the next question would be determined by their previous answer (for example, answering "yes" or "no"). Thanks a lot for your help!
This is very good content, i like the example you have selected..it's interesting, relatable and the ease of explanation is great... Would like to see such series in future with such real life examples!!😀 Keep it up man!!👏
Hey thanks man. I enjoyed your explanation. I was following a tutorial document on Github. It was too old, the layout for the Amazon dashboard had changed significantly compared to the document; so it was hard to understand exactly where to go and how to add the new slot types. Appreciate the explanation too.
Great video Pradip!!! Your explanation is very clear and the content is interesting and informative. Thanks. Keep growing👏 Few doubts: Can we change the message the lex gives if provided value for a slot doesnot fall in the possible values? Say message like "only king,queen,studio values are allowed" something like that Also, if I want to fine tune lex on my data suppose medical data with 10000 or more samples, do it have a rest API support for training? Can I train on data having questions and answers?
Thank You, Prajith, Yes, we can have custom logic for validation and messaging. Also, we can finetune models for question answers like hugging face transformers. In that case, we can use Amazon lex for conversation and to answer questions; we can pass it to different machine learning models like transforms. We can achieve both above things by connecting Amazon lex with AWS Lambda. In aws lambda, we can have a custom back-end. I have uploaded the second part that explains and shows the methodology of connecting Amazon Lex with Lambda.
What happens if the customer makes the wrong attempt? Repeat the same slot and see how many times it repeats (is there any possibility to set a limit fir incorrect attempt?)
First of all you need to use aws cloud. You can trigger AWS lambda which holds you business logic from any other services like Amazon lex , or some custom events like whenever someone uploads a file in your AWS bucket you want to run lambda. You can create end to end applications using different AWS services
hello,thank you for your efforts , i would like to ask you before i began the tutorial if there's anything which i will pay for ! or it's free, thank you in advance
I create many bots in my account, is there in way to manage those bots by category ? I don't like the way that they are distributed. I want to manage them like this : restaurant Bots : contains 2 bots car Bots : contains 3 bots
'ElicitSlot' next step at 'InitialResponse:CodeHook:Success' in intent 'Greeting' contains invalid slotToElicit setting. slotToElicit must be a required Slot within the intent. Change the slot name in slotToElicit and try your request again. I keep getting this error in the first video but i have followed the steps correctly. what should i do to get this problem solved please?
Thank you for this amazing video. I tried to follow it but I encounter errors. Here is my conversation with the bot book hotel What city will you be staying in ? yaounde How many nights will you be staying ? 4 What day do you want to check in ? today What type of room would you like, queen, king or deluxe ? deluxe Okay, I have you down for a 4 night(s) stay in yaounde starting 2023-01-10. Shall I book reservation ? yes Intent BookHotel is fulfilled I have set the fulfillment message but still get the response "Intent BookHotel is fulfilled" Don't know what is wrong, I just followed step by step the video. Please when you will have time, kindly help.
@@FutureSmartAI The fullfilment Flag is set, I wonder why it is not working. I will try to unset it, build the bot and set it back again and build too. thanks for the tip. I will look into it and come back to you. Thank you for the amazing response time, I didn't expected any response since couple weeks. I will get back to show you my progress in following your training videos.
at the end of the conversation the bot send: "Intent BookHotel is fulfilled" I don't know what is wrong. please kindly help when you will have the time.
Error while buildingL 'ElicitSlot' next step at 'InitialResponse' in intent 'NewIntent' contains invalid slotToElicit setting. slotToElicit must be a required Slot within the intent. Change the slot name in slotToElicit and try your request again.
@@FutureSmartAI thanks Pradip, yes it was a mistake in slot name. I figured it out. Moreover, I successfully implemented complete bot setup. You have been doing great. Have you given any thoughts to develop medical assistants etc
Hey Pradip, I am building a lex but in session state I am not able to send message as well as elicit a slot. It either returns back message on lex or elicits a slot but not both.What can be the issue? Thank you so much
@@FutureSmartAI hey thank you so much. I almost used your code. if event['invocationSource'] == 'DialogCodeHook': if validation_result['isValid'] == True : if 'message' in validation_result : response = { 'messages': [ { 'contentType': 'PlainText', 'content': 'hi' } ], 'sessionState': { 'dialogAction': { 'type': 'ElicitSlot', 'slotToElicit': validation_result['validSlot'] }, 'intent': { 'name': intent, 'slots': slots } } } but lex only shows message and doesn't elicit a slot . am I missing something?
Heyy I am facing the issue with keyError: 'Session state' in line 37 of lambda handler and the execution status is failed now. And also not getting fulfillmentcodehook in logs Please suggest the solution to this.
OMG! Where are the damn images? How are y'all building chatbots that don't have images??? Where are THOSE tutorials??? Y'all are ALL doing the same damn thing. I'm so tired of seeing these non-creative chatbots on here. Where are the images???
@FutureSmartAI Chatgpt is not yet where I am going with the chatbot. Doesn't matter, I found a service that allowed me to build my chatbot which included tutorials of how to insert images and not this half ass, wack ass tutorial like this video here. Built it and it's doing well. Thank you though.
📌 Hey everyone! Enjoying these NLP tutorials? Check out my other project, AI Demos, for quick 1-2 min AI tool demos! 🤖🚀
🔗 TH-cam: www.youtube.com/@aidemos.futuresmart
We aim to educate and inform you about AI's incredible possibilities. Don't miss our AI Demos TH-cam channel and website for amazing demos!
🌐 AI Demos Website: www.aidemos.com/
Subscribe to AI Demos and explore the future of AI with us!
Thankyou for even the recapsulation at the end. This really helped alot.
Hi Pradip,
I hope you're doing well! I’m working on a chatbot project where the conversation flow is dynamic, just like a binary tree. The chatbot would ask questions based on user responses, and the next question would be determined by their previous answer (for example, answering "yes" or "no").
Thanks a lot for your help!
This is very good content, i like the example you have selected..it's interesting, relatable and the ease of explanation is great... Would like to see such series in future with such real life examples!!😀 Keep it up man!!👏
Glad you liked it! Thanks Bhushan for encouragement and Support.
thanks for sharing your knowledge
My pleasure
Thanks for sharing your knowledge Pradip
Informative
Thank You. Do check other videos.
Hey thanks man. I enjoyed your explanation. I was following a tutorial document on Github. It was too old, the layout for the Amazon dashboard had changed significantly compared to the document; so it was hard to understand exactly where to go and how to add the new slot types. Appreciate the explanation too.
happens a lot with all this enterprise level stuff unfortunately
Nice video, useful content
Glad you think so!
Great initiative.. Explained in detail..Tx.
Great video. Will complete this series shortly and provide complete feedback 🙂
Hope you enjoy it!
Very detailed explained. Thanks
Glad it was helpful!
Good work Pradip. looking more..
More to come!
Thank you for shareing your knowledge.
My pleasure!
Great video on a very interesting topic. Thanks for the in depth information which is very useful.
Thanks Navin. Glad it was helpful!
Awesome 👌 👏
Thanks 🤗
Great content, Pradip. Do you know, how to create welcome message ? I don't want user to initiate conversation. Is this possible ?
Thanks. By default there doesnt seems to be way. If you going to have your custom UI then definitely you can have some welcome message .
Great video Pradip!!! Your explanation is very clear and the content is interesting and informative. Thanks. Keep growing👏
Few doubts:
Can we change the message the lex gives if provided value for a slot doesnot fall in the possible values? Say message like "only king,queen,studio values are allowed" something like that
Also, if I want to fine tune lex on my data suppose medical data with 10000 or more samples, do it have a rest API support for training? Can I train on data having questions and answers?
Thank You, Prajith,
Yes, we can have custom logic for validation and messaging.
Also, we can finetune models for question answers like hugging face transformers.
In that case, we can use Amazon lex for conversation and to answer questions; we can pass it to different machine learning models like transforms.
We can achieve both above things by connecting Amazon lex with AWS Lambda.
In aws lambda, we can have a custom back-end. I have uploaded the second part that explains and shows the methodology of connecting Amazon Lex with Lambda.
Great video, thank you
Glad you liked it!
awesome content , keep doing
Thank you! Will do!
Great content. Keep it up
Thanks Rajat
Hey pradip . Amazing tutorial . Loved it. is there anyway I can access you notion notes?
Would be very handy for me
Once you have lambda you can access notion. you can use libaraies like llamaindex to connect notion
What happens if the customer makes the wrong attempt? Repeat the same slot and see how many times it repeats (is there any possibility to set a limit fir incorrect attempt?)
Which external service do we need so that we can execute the amazon lambda function please ? Is it S3 in this case?
First of all you need to use aws cloud.
You can trigger AWS lambda which holds you business logic from any other services like Amazon lex , or some custom events like whenever someone uploads a file in your AWS bucket you want to run lambda.
You can create end to end applications using different AWS services
Great video !
Thanks for the visit
Hello Pradip, how to capture the user prompt in AWS lambda function?
Hello Pradip, can we enable sentiment analysis in Lex V2
hello,thank you for your efforts , i would like to ask you before i began the tutorial if there's anything which i will pay for ! or it's free, thank you in advance
I create many bots in my account, is there in way to manage those bots by category ?
I don't like the way that they are distributed.
I want to manage them like this :
restaurant Bots : contains 2 bots
car Bots : contains 3 bots
No I haven't explore this.
'ElicitSlot' next step at 'InitialResponse:CodeHook:Success' in intent 'Greeting' contains invalid slotToElicit setting. slotToElicit must be a required Slot within the intent. Change the slot name in slotToElicit and try your request again. I keep getting this error in the first video but i have followed the steps correctly. what should i do to get this problem solved please?
Hi Pradip, can you create some videos on Building chatbot using AWS Lex conditional branching. It will reduce the lambda coding part.
Noted. NOw days we use chatGPT to build chatbots
Thanks
Thank you for this amazing video. I tried to follow it but I encounter errors. Here is my conversation with the bot
book hotel
What city will you be staying in ?
yaounde
How many nights will you be staying ?
4
What day do you want to check in ?
today
What type of room would you like, queen, king or deluxe ?
deluxe
Okay, I have you down for a 4 night(s) stay in yaounde starting 2023-01-10. Shall I book reservation ?
yes
Intent BookHotel is fulfilled
I have set the fulfillment message but still get the response "Intent BookHotel is fulfilled"
Don't know what is wrong, I just followed step by step the video.
Please when you will have time, kindly help.
Check fulfillment flag (slider ) set or not
@@FutureSmartAI The fullfilment Flag is set, I wonder why it is not working.
I will try to unset it, build the bot and set it back again and build too. thanks for the tip. I will look into it and come back to you.
Thank you for the amazing response time, I didn't expected any response since couple weeks.
I will get back to show you my progress in following your training videos.
Thank you, It works. Thank you for your time.
@@joziastema9878 I am going to create discord server to help people solve their issue
@@FutureSmartAI I will be glad to join sir.
Where is the link please ?
Great vidéo!! please can i have the code of the lambda in python that you made in this vidéo ?
github.com/PradipNichite/TH-cam-Tutorials/blob/main/Amazon_Lex/Part2.py
Hii., I am facing the issue with when i test the bot "doesn't have an associated Lambda Function." how to resolve this. Thanks
Hello I am getting intent hotel book fullfiled even after making all changes you have done plz help
at the end of the conversation the bot send:
"Intent BookHotel is fulfilled"
I don't know what is wrong.
please kindly help when you will have the time.
May people face this issue, it has to do with lambda fulfillment setting.
is it possible to make bot sending images and videos?
You can use response card
th-cam.com/video/bLtxrvEgZ8E/w-d-xo.html
thank you
Error while buildingL
'ElicitSlot' next step at 'InitialResponse' in intent 'NewIntent' contains invalid slotToElicit setting. slotToElicit must be a required Slot within the intent. Change the slot name in slotToElicit and try your request again.
Hi are you sure you are using correct slot name?
@@FutureSmartAI thanks Pradip, yes it was a mistake in slot name. I figured it out. Moreover, I successfully implemented complete bot setup. You have been doing great. Have you given any thoughts to develop medical assistants etc
@@who.gondal That's Great.
@@who.gondal heyy I am also facing the same issue please elaborate how did you figured it out..
@@ananyashukla1859 Check the slot name, it is case sensitive. it is not a major issue. but select the correct slot name
Hey Pradip,
I am building a lex but in session state I am not able to send message as well as elicit a slot. It either returns back message on lex or elicits a slot but not both.What can be the issue?
Thank you so much
Hi recently not in touch with Lex. Did you try building chatbot using ChatGPT API?
@@FutureSmartAI hey thank you so much. I almost used your code.
if event['invocationSource'] == 'DialogCodeHook':
if validation_result['isValid'] == True :
if 'message' in validation_result :
response = {
'messages': [
{
'contentType': 'PlainText',
'content': 'hi'
}
],
'sessionState': {
'dialogAction': {
'type': 'ElicitSlot',
'slotToElicit': validation_result['validSlot']
},
'intent': {
'name': intent,
'slots': slots
}
}
}
but lex only shows message and doesn't elicit a slot . am I missing something?
Heyy I am facing the issue with keyError: 'Session state' in line 37 of lambda handler and the execution status is failed now.
And also not getting fulfillmentcodehook in logs
Please suggest the solution to this.
@pradip Nichite
check whether you have properly configure fulfillment hook.
can we get that code in the lambda function??
Yes. Next video code is given
@@FutureSmartAI thanks dude it really helped me :)
Nice video my curry boyy
OMG! Where are the damn images? How are y'all building chatbots that don't have images??? Where are THOSE tutorials??? Y'all are ALL doing the same damn thing. I'm so tired of seeing these non-creative chatbots on here. Where are the images???
You should use chatGPT.
@FutureSmartAI Chatgpt is not yet where I am going with the chatbot. Doesn't matter, I found a service that allowed me to build my chatbot which included tutorials of how to insert images and not this half ass, wack ass tutorial like this video here. Built it and it's doing well. Thank you though.
@@lishonegenovese8684 Great!. I am sorry this tutorial was not usefull to you. can you share that service name I wish to explore it.