Amazon Lex Chatbot Tutorial - Introduction and Demo - with AWS Lambda | Lex V2 Architecture Example

  Рет қаралды 22,626

Architecture Bytes

Architecture Bytes

Күн бұрын

Timelines:
0:30 Sample Chat
0:59 Key Concepts
3:25 Demo - IceCreamBot
3:50 Demo - Create Bot
4:38 Demo - WelcomeIntent
6:56 Demo - Add CreateOrderIntent
8:34 Demo - Adding Slots
13:36 Demo - Confirmation
14:41 Demo - Fulfilment
15:19 Demo - Closing Response
17:50 Demo - Add CancelOrderIntent
22:42 Demo - FallbackIntent
23:59 Demo - Conditional Branching
31:04 Demo - Lambda Integration
36:19 Demo - Version & Alias
38:54 Demo - Quick Debug
Lambda Code used in demo (IceCreamOrderFunction):
architectureby...
Integrate Amazon Lex Chat in your custom webpage
(while this refers to previous version of Lex, basic idea is the same):
aws.amazon.com...
Also here:
github.com/aws...
#chatbot #aws
Amazon Lex Chatbot Tutorial - Introduction and Demo, Lex V2 Example
Amazon Chatbot Architecture Overview | AWS Lex Chatbot for Customer Service
Build Chatbot with Amazon Lex and Lambda function

Пікірлер: 52
@ArchitectureBytes
@ArchitectureBytes 2 жыл бұрын
You may also be interested in: AI ChatBot / AI Assistant (Voice/Text) using Amazon Connect and Lex: kzbin.info/www/bejne/aXK9YqFopK2ne6s
@Ali-ls3oy
@Ali-ls3oy 2 жыл бұрын
Hey man, this is the best tutorial seen so far, good job!
@Shukla-gf8iv
@Shukla-gf8iv Жыл бұрын
Very good demo of Lex Bot.. very informative showing all the steps .. thank you ...
@bytesandbitstraining
@bytesandbitstraining Жыл бұрын
for the branching, I had to remove the "if" at the beginning of the statement. I think the one already provided in the field (although it looks like it's ghosted out) prevents the need to manually type in the "if".
@srinivasrepala1
@srinivasrepala1 2 ай бұрын
Good efforts 🔥🔥🔥
@faikkoprenca5204
@faikkoprenca5204 2 жыл бұрын
Good job, it was really helpful
@karatekidskc6832
@karatekidskc6832 Жыл бұрын
Brilliant.. Thank you very much
@nithishsubramaniyan
@nithishsubramaniyan Жыл бұрын
Hello, When I try to call lambda using code hook invoked slot parameter in the Lex event is null.
@ArchitectureBytes
@ArchitectureBytes Жыл бұрын
Please check: 1. Debug as shown in 38:54 to see if slot value is being captured. 2. Are you accessing the slot value correctly in Lambda function? See the Lambda Code example mentioned in the video description.
@nithishsubramaniyan
@nithishsubramaniyan Жыл бұрын
@@ArchitectureBytes Thanks for your response. Q1: Using logs I can see that the slot is captured and saved in the session attributes. Q2: I have printed the whole Lex event in the log; that's how I confirmed that lambda received the empty slot object in the lambda. I can observe that the issue occurs only if we use the slot before the condition block. If the condition block is removed, then the code hook works as expected.
@sitabjachatterjee249
@sitabjachatterjee249 Жыл бұрын
1st Question - How to use the Version 1 for later purpose? 2nd Question - And after I built the bot again, and I wrote "Hey/Hello" etc.. it throws and error as "Cannot call FulfillmentCodeHook for Intent CreateOrderIntent. BotAlias/LocaleId TestBotAlias/en_US doesn't have an associated Lambda Function." Is this expected ? When I selected the settings button and manually added the source again on the chat screen , it started working. But no cloud watch log is generated after that also.
@ArchitectureBytes
@ArchitectureBytes Жыл бұрын
1 You can migrate from V1 to V2. There is documentation available regarding that. 2 If you are testing Chatbot Draft version - you must configure lambda function in the Settings 34:07 If you are creating a Version & Alias 36:19 - then you must configure lambda function 37:43
@jjawal
@jjawal 2 жыл бұрын
Very informative video sir. Can you please share some videos related visual builder as well
@michaelevert9509
@michaelevert9509 7 ай бұрын
Hello, when programming fallback I found that no matter what I typed it assumed that was an order number and wanted to know if I wanted to cancel order thkddhhftb I changed this slot to be only a number and that helped BUT if I simply type in multiple numbers it trys to cancel
@ArchitectureBytes
@ArchitectureBytes 7 ай бұрын
Without looking at your setup - I guess the CancelOrderIntent is getting invoked because you either chose that option(button) Or typed an utterance about canceling the order - so after that the ChatBot is looking for OrderNo to cancel.
@michaelevert9509
@michaelevert9509 7 ай бұрын
I would enjoy showing you at anytime. My set up was just like yours.
@UncleF115
@UncleF115 Жыл бұрын
what if one lex bot need to invoke multiple lambda? the alias page seems only allow us to select one?
@ArchitectureBytes
@ArchitectureBytes Жыл бұрын
Amazon Lex V2 uses one Lambda function per bot alias per language (instead of one Lambda function for each intent). So, you can use the Lambda function that's configured for your bot's alias - to invoke other Lambda functions, based on the current intent's name.
@UncleF115
@UncleF115 Жыл бұрын
@@ArchitectureBytes got it. Much thanks. You got me unstucked from a skill builder lab
@UncleF115
@UncleF115 Жыл бұрын
@@ArchitectureBytes what’s your LinkedIn btw? I will follow you there.
@sruthi.ppakki2736
@sruthi.ppakki2736 Жыл бұрын
Can we connect it directly to any website from where the BOT can automatically fetch the data?
@ArchitectureBytes
@ArchitectureBytes Жыл бұрын
Not sure if I understand the question. Using a Lambda function alongside the chatbot as shown in the demo, you can fetch data from wherever you want.
@prasannamansabdar5570
@prasannamansabdar5570 Жыл бұрын
Hi how to publish the boat for end user usage ?
@ArchitectureBytes
@ArchitectureBytes Жыл бұрын
You can write a custom web page with javascript to invoke Amazon Lex APIs. Pls see video description for a link to an example.
@eshadas4857
@eshadas4857 Жыл бұрын
Hi , after configuring lambda function I am not able to place an order. Getting something went wrong error.Please help here.
@ArchitectureBytes
@ArchitectureBytes Жыл бұрын
Have you checked the error message in CloudWatch Logs?
@eshadas4857
@eshadas4857 Жыл бұрын
@@ArchitectureBytes No not checked yet
@dhinuvideos
@dhinuvideos Жыл бұрын
@@eshadas4857 pls check the cloud watch log after you get some idea
@eshadas4857
@eshadas4857 Жыл бұрын
@@dhinuvideos still not able to get idea can you please help
@kishore6399
@kishore6399 2 жыл бұрын
Hello I am getting the Reached Maximum number of allowed steps in single user input.Please update the bot definition to avoid any potential loops error if I use conditional loops
@kishore6399
@kishore6399 2 жыл бұрын
What to do and why it is coming?
@ArchitectureBytes
@ArchitectureBytes 2 жыл бұрын
Please check your conditional branching logic - the 'Next Step in Conversation' part. Perhaps it is resulting in a 'loop' behavior.
@kishore6399
@kishore6399 2 жыл бұрын
@@ArchitectureBytes no we have just given a single slot and for a particular value of slot we have given the display message in the branching condition. We are developing a simple question and answer type bot for that we are using the branch what might be the issue?
@ArchitectureBytes
@ArchitectureBytes 2 жыл бұрын
Pls verify/change 'Next Step in Conversation' part for Condition/Slots etc.
@kishore6399
@kishore6399 Жыл бұрын
@@ArchitectureBytes thank you so much sir we got it right
@christofbergner
@christofbergner Жыл бұрын
really helpful
@stevebuonincontri6853
@stevebuonincontri6853 14 күн бұрын
I like your videos
@HarshKumar-r5f
@HarshKumar-r5f 11 ай бұрын
Thanks a lot.
@kishore6399
@kishore6399 Жыл бұрын
How can we provide user with a clickable link as response please help
@ArchitectureBytes
@ArchitectureBytes Жыл бұрын
Try returning the response (with hyperlink) via a Lambda function. However, whether the link is displayed correctly or not depends on the chat client.
@kishore6399
@kishore6399 Жыл бұрын
@@ArchitectureBytes can't we do this without using lambda?
@ArchitectureBytes
@ArchitectureBytes Жыл бұрын
Under (Advanced Options >) More Response Options > Add > Custom Payload - here you could return a custom payload for eg. your link Your chat client (custom/facebook messenger/slack) has to interpret the response and display hyperlink.
@kishore6399
@kishore6399 Жыл бұрын
@@ArchitectureBytes can't we check that in lex interface for now because I tried it but it displays as a normal text message only
@kishore6399
@kishore6399 Жыл бұрын
@@ArchitectureBytes and one more thing using u r method i.e from lambda also do we need to check with client?
@stevebuonincontri6853
@stevebuonincontri6853 14 күн бұрын
Let me know if u want to team up on some RFP
Amazon Lex: Validate Slot data with Lambda
25:35
Cumulus Cycles
Рет қаралды 17 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
AWS Lambda + Bedrock Tutorial
12:00
Be A Better Dev
Рет қаралды 17 М.
How to Integrate Amazon Lex Chatbot Into Your Website | Kommunicate
3:39
Kommunicate: AI Chatbots and Support
Рет қаралды 4,5 М.
AWS LEX Custom Chatbot and Integrate to Website| Bot Visual Editor
32:08
UPDATED - Create Your First AWS Lambda Function | AWS Tutorial for Beginners
15:56
Tiny Technical Tutorials
Рет қаралды 3,8 М.
Amazon Lex: Build a ChatBot
23:39
Cumulus Cycles
Рет қаралды 13 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН