What is a Chatbot? - YouTube

Channel: IBM Technology

[0]
So most of us have at this point in our lives聽 have probably used a chatbot, maybe without聽聽
[4]
even knowing it. Have you ever wondered how does聽 a chatbot work? What powers it? How do I interact聽聽
[10]
with it? Let's dive in. My name is Morgan Carroll聽 with IBM Cloud. Let's say you're the owner of a聽聽
[17]
flower shop, this is you. And you're the only聽 employee, maybe you don't have time to respond聽聽
[25]
to common customer inquiries, such as what time聽 do you open, do you have yellow roses in stock,聽聽
[31]
how do I contact you. So you've got your customer聽 up here and they need to get in touch with you,聽聽
[37]
but you're busy you can't answer the phone. So聽 what can we do to solve this problem? This is聽聽
[42]
where Flora, the floral chatbot comes in. This is聽 Flora over here. Now if a customer has a simple聽聽
[50]
question, let's say they just want to know, um,聽 what time do you guys open. They can ask Flora聽聽
[57]
"hey what time do you all open?", and聽 then Flora is going to be able to respond聽聽
[62]
with the appropriate answer. She's going to say,聽 you know, maybe "we open Monday at 9 AM." All聽聽
[69]
without me having to interact with the chatbot, or聽 the customer, so that I'm free to do what I love聽聽
[74]
to do which is designing floral arrangements.聽 Now let's think of a more complex example.聽聽
[82]
Say you have the bank here, and you as the聽 customer you would like to check and see聽聽
[90]
what your balance is. So I just got paid I don't聽 know how much money is in the bank but I need聽聽
[96]
to go buy some socks. So rather than having to聽 call the bank and wait on hold, and wait for a聽聽
[102]
teller to pull up your information, and check your聽 account status, you could actually interact with聽聽
[109]
Birdie, the banking bot. So in this聽 case I'm going to ask Birdie, "Birdie,聽聽
[117]
what is my balance? How much money do I have聽 currently?" Bertie's going to come back and ask,聽聽
[123]
"I can help you with that, but what is your聽 account number, your pin number?", you know聽聽
[129]
some identifying information. So I'm going to be聽 able to provide this information back to Birdie.聽聽
[136]
My account number, maybe my date of聽 birth, a pin number, etc., etc. From there聽聽
[143]
all without any tellers or any employees having聽 to interact with Birdie, she's going to be able聽聽
[147]
to go and ask the bank, she's going to pass聽 along all this information, my account number,聽聽
[153]
my date of birth, and my pin number, and she's聽 going to say "hey bank, how much money does this聽聽
[158]
person have in their account?" The bank is going聽 to authorize me and say "okay this is all the聽聽
[162]
appropriate information that we need." The bank聽 is going to respond with "I'm sorry you only have聽聽
[167]
five dollars", maybe enough for socks, maybe not.聽 But then Birdie is going to be able to take that聽聽
[174]
response and pass it back to me, the customer,聽 all without having to interact with any humans聽聽
[180]
and it's very simple. So how does this really聽 work? Let's dive in. Going back to the floral shop聽聽
[187]
example. Let's say tomorrow is Mother's Day and聽 you forgot to order flowers like we normally do.聽聽
[195]
So here's you, my customer. Now like we mentioned聽 before, the floral shop owner is very busy,聽聽
[202]
she's putting together all these arrangements,聽 she doesn't really have time to answer the phone.聽聽
[206]
So luckily there are a few different聽 ways that you the user can interact聽聽
[210]
with our chatbot to actually automate聽 ordering some flowers for your mother.聽聽
[216]
So, on the floral shop website there could be a聽 little pop-up, maybe at the bottom that has Flora.聽聽
[224]
This is Flora, the floral bot, and she's here聽 and she's going to be able to pop-up and ask聽聽
[229]
me "what kind of flowers would you like to聽 order?" Obviously yellow roses because those聽聽
[233]
are my mother's favorite. If we don't want to聽 use the website, we could actually just call in.聽聽
[238]
So it can be either text based or voice based.聽 So, if I call the chatbot she says "Welcome to聽聽
[246]
Flower Supply 101, what would you like to place聽 your order for?" I would say "I would like a dozen聽聽
[251]
yellow roses", and it's just conversational.聽 And she's going to take my order and be able聽聽
[254]
to process it and you can also use various instant聽 messaging services, you know, for different social聽聽
[259]
media platforms you can integrate. So you have聽 all these different ways that you can interact聽聽
[263]
with the chatbot. Now let's think about how聽 that actually works, sort of on the backend.聽聽
[269]
So I think by now we're all familiar with the聽 cloud, it's the buzzword of the year. This is聽聽
[275]
actually where our chatbot is going to live. So聽 you'll have a chatbot service provider and this聽聽
[281]
chatbot is going to integrate with various聽 services to actually process whatever speech聽聽
[286]
it is that the user is saying. It's going to use聽 Natural Language Processing, as well as Artificial聽聽
[292]
Intelligence, to take what i'm saying and then聽 actually translate it into something that a聽聽
[296]
computer can understand. So, I'm saying whether聽 it's via phone or via instant messenger, or to聽聽
[305]
the webpage via text or voice, I would like to聽 purchase some yellow roses. So I'll say "purchase聽聽
[312]
yellow roses", and maybe I want to do a dozen.聽 Maybe next year I'll do two dozen, I should.聽聽
[320]
So then it's gonna pass this, I'm gonna pass this聽 information to either the web page or IM or voice.聽聽
[325]
This is actually, whatever this medium聽 is, it's going to send this information聽聽
[329]
up to the cloud. Now the cloud is going to take聽 this and it's going to process it. It's going to聽聽
[334]
say "I see that the user wants to purchase this聽 specific item", in this case 12 yellow roses.聽聽
[340]
Now we have to make sure that we actually have聽 these roses in stock, you know, if i try to place聽聽
[345]
an order and then I pay for it and then I get a聽 notice sorry we're out of stock well that's just聽聽
[349]
not a good user experience. So the way this is聽 going to work is we'll use various cloud services聽聽
[354]
and we're actually going to go over here and聽 connect to what I'm going to call floral systems.聽聽
[361]
And this is basically just going聽 to be our database on the backend,聽聽
[365]
and it's going to show, you know, maybe I聽 have 36 yellow roses in stock. I've also got,聽聽
[374]
let's say, 14 red tulips, and 3 succulents.
[382]
Succulents. So, I've sent this information to聽 the webpage already as the user now the webpage聽聽
[389]
is going to say "all right, purchase", and then聽 12 roses, yellow roses. Now this is going to聽聽
[396]
send this information to the cloud to my chatbot聽 service provider, and then that is actually going聽聽
[401]
to go out here and check the database. So I'll聽 say "12 yellow roses is what we're looking for",聽聽
[409]
and then we can see we've actually got 36.聽 So we have plenty of roses, this is good.聽聽
[414]
So now we're going to send a聽 response back. We're going to say聽聽
[417]
"Yes, we have more than enough roses in stock.聽 So we can go ahead and place this order".聽聽
[423]
And the cloud is going to come back and say "Yes聽 let's place this order." And then the webpage is聽聽
[427]
going to come back to me and say "Absolutely,聽 you're in luck. You didn't wait too long. Maybe聽聽
[432]
next year try to do it a little quicker,聽 but we're going to be able to fulfill your聽聽
[435]
order." So then I'm over here the whole time as,聽 let's say I'm over here, the floral shop owner.
[444]
And I'm just building floral arrangements. Maybe聽 I'll get a notification kind of off to the side,聽聽
[448]
but all in all the whole thing is automated so聽 I don't have to stop what I'm doing to actually聽聽
[453]
take care of this, and it's聽 going to save me a lot of time.聽聽
[457]
Now let's talk about the benefits of, you know,聽 why would we want to use a chatbot. I mean it聽聽
[463]
is it is nice to have that human interaction聽 whenever you're dealing with your customers, but聽聽
[468]
I think probably the number one reason that聽 someone may want to use a chatbot is to save聽聽
[473]
time. And what I mean by that is, you know,聽 not only are you saving time when it comes to聽聽
[479]
like interacting with your customers聽 and getting someone to place an order,聽聽
[483]
but again, you're leaving time off to聽 the side for you to go, and you know,聽聽
[488]
maybe you've got to do some bookkeeping, you've聽 got to put these floral arrangements together,聽聽
[491]
whatever it is, it's going to save you hours聽 and hours over the course of even just a month.
[498]
Two. Simplicity.
[503]
Chatbots believe it or not are surprisingly聽 simple to build. You don't have to know how聽聽
[508]
to write any code in most cases, if you want to do聽 more in-depth integrations, you might need to know聽聽
[514]
some code, but for the most part it's just natural聽 language based. You could say "Hey chatbot,聽聽
[520]
I want you to tell users that I'm open Monday聽 through Friday 9 AM to 6 PM", and it's going to be聽聽
[525]
able to relay that information without having to聽 know any Python, or JavaScript, or anything like
[529]
that. Lastly, time to launch. So what that means聽 is that it does not take a lot of time to build聽聽
[541]
a chatbot. Like I said earlier, you don't have聽 to know any code, and since it's cloud-based聽聽
[545]
you don't have to build up any of the underlying聽 infrastructure. From the time you start building聽聽
[550]
the chatbot to the time it's completed could be聽 as quick as one hour. And so, these are some of聽聽
[555]
the reasons that you may want to build a chatbot聽 for your business. So I hope this helped explain聽聽
[561]
what a chatbot is, how it works, and why you聽 may want to use it. Thank you for watching.聽聽
[568]
If you have questions please drop us a line聽 below. If you want to see more videos like聽聽
[572]
this in the future, please like and聽 subscribe. And don't forget you can聽聽
[575]
grow your skills and earn a badge by creating聽 your own chatbot by clicking the link below.