>> Learn how to add personality to your chatbot.
In this episode of the AI Show where Ron shows
us all about the humorous, friendly,
and maybe even buttoned up
AI that you can add to your chatbots,
in this episode of the AI Show.
Welcome to a new episode of the AI Show,
we're going to talk a little bit about
bots with Ron. How are you doing my friend?
>> I am good. How are you?
>> Tell us who you are, what you do?
>> Well, my name is Ron Owens.
I'm on Project Personality Chat
and I am one of the writers,
and editors on the team,
developing a service for bot developers.
>> Fantastic.
So tell us the problem that this is solving.
>> Well, when your bots,
you build a bot and what
happens with a bot is sometimes
people don't stay on rails,
you design a bot to do something,
but they go off and ask some unusual query,
and we call these queries,
chitchat or small talk.
So, when a bot encounters small talk,
often what will happen is the bot will just sort of-.
>> Explode?
>> No explosions, not that I've heard of.
But yes, they'll just say,
Sorry I don't understand,
like you're chatting with your Bank bot,
and the Bank bot says, Hey,
you've got more money in your bank
account than you thought you did,
and you can't contain
your enthusiasm and you see something exuberant.
Then the bot says it doesn't get it,
and it says, Sorry I don't understand.
So, not only is this just no fun,
but it's distracting and
the experience just feels broken,
and for a bot developer
to just go in and try to find these areas,
these troubled areas, and try to fix
them it would just be a huge endeavor.
There's help out there, you can find bot platforms,
that will help you in areas like this,
they provide sort of an editorial starter set.
But they are insufficient solutions,
and that's where we're trying to come in,
with this and the Project
Personality Chat what we provide is;
we provide the bot developer
with a consistent personality,
and we provide the bot developer
with a choice of personalities,
and this is essential,
if you're designing a bot and you want this bot to,
its voice to sort of align with your brand.
Other bot developer platforms,
they really just provide a one-size-fits-all solution.
So you just get that one voice,
and you get at best a limited set
of responses for those top sort
of chitchat and small talk queries.
>> What's interesting is, just not to interrupt
but when you are going through a bot experience,
and then all of a sudden you hit the limits
of what the bot does.
Then all of a sudden you're sort of
pulled from the experience you know like,
"This is kind of artificial.
Now I know I'm talking to a robot I'm
going to screw with it, I'm going to do whatever, right?"
So this is a way to help in those cases, is that right?
>> Right. Exactly. Exactly. So yes,
we're helping you in that area and like
you see you have choices,
and I can show you.
>> Let's do it. Let's look at it.
>> Yeah. See what it looks like. So, this
is a weather bot we've set up,
and so we're trying to help you not hit that dead end,
where it says, "I don't know what you're talking about".
We have two ways of doing that.
We have an editorial set of responses for
the most common small talk queries and then we have,
those are for those top queries,
those high volume queries,
and we have these for each
of the personality types that we've mapped out.
For the longer tail queries.
So you can't predict everything that's what I'd say.
>> Yeah, of course.
>> So, for those long tail queries,
we have a deep neural network.
This is cutting edge stuff,
this is deep neural network on
the back end and it will generate
responses in real time. Yes?
>> Not Eliza, Elizareels.com
>> Yes. So, here this weather bot,
what we have is,
this has the editorial set hooked up to it,
but it does have personality,
and this one is our humorous bot.
So, it's tuned to
the humorous personality I'm going to say,
"Hi," to start our conversation,
"What's cookin'?" All right.
>> Wow. That is a lot of personality right of the bat.
>> So now let's get down to business.
I'm going to say, "How's the weather, here in Botland?"
Okay. So it recognized,
that as a functional query,
it wasn't small talk so it gave me a good answer and-.
>> It sort of appended a little humor there at the end.
>> Yes, yes. So yes, that's a fun part of it.
Okay. So now I'm going to say,
Well, how are you?
85%. Okay. Who made you?
Nerds. Yes, it's pretty accurate.
Okay. Do you like them?
So you don't hang out?
Whoops. Okay, so here
we've hit the edge of the editorial set.
So, this is when we go to the,
here I'm going to show you the other solution.
>> I see. So this is like,
you have an editorial set up things it's like, Here,
you want humor just here's the humor for
the 99 percent or
whatever percentage of things people will ask.
You have a flow for that already built in.
So if they're reaching the edges of what you're
supposed to be doing with the bot,
then it will take care of it,
but if you get into the weirder things
or different things it doesn't know about,
that's when you use what you're showing us.
>> The bot will probably have a purpose.
You probably built this bot, like this one was
built to tell the weather.
So, ideally if you're
the developer they're going to talk about the weather.
But they're also going to have some weird stuff,
and yes that's for the more common weird stuff.
We're the same team who
created Cortana persona, personality.
>> I see.
>> We created that and so it's the same team.
So we're very familiar with the stuff
that people will ask that's not on task.
>> Actually that's cool.
>> So yeah. So that's what the editorial set is about.
But they're even going to go beyond this
and let's see if I can get over to the other.
Yes. So, this is in beta,
but it's available right now at
the Cognitive Services Labs,
that's one of their offerings.
So, this will handle those long tail queries,
and you have a choice of personalities here.
These models have been trained and this is so cool.
They're trained for these personalities.
So, you have a choice personalities
and you got the editorial set.
The whole editorial set has
been customized for these individual personalities.
Differentiating in that way and the Long Tail,
the machine generated responses are
also tuned to these personality types.
>> So, there's no settings that I have to do,
it just does it,
based upon what we've learned
from Cortana and other things that we haven't-
>> Yes, we've applied our Cortana learnings to
know those top queries. What those are going to be?
You got those at the editorial set,
and then you have
a Long Tail queries being
answered by this machine that's
being spontaneously generated.
But you as a bot developer,
you can go in and you customize the editorial set.
>> I see.
>> Yes. You can go in and you can change these responses.
You'll get the library and just go in there,
if you don't like what we've given you.
It's just a huge time saver in that,
and expense saver to have these identified for you,
these help queries, and to have this,
to not have to start from scratch.
>> Cool. Let's see this right here.
>> Okay. Sure.
>> So, I'm curious to see what personality types,
are like angry father,
mother-in-law, none of those?
>> No, what we're trying to do is,
we are trying to develop
voices that will support sort of brand archetypes.
>> Got it.
>> Right now, we have three, we
have professional, friendly, and humorous.
There will be more, but that's where we are now.
So, I've set this to friendly.
This is just to demonstrate the chat.
This is not like the weather bot,
this isn't supposed to be doing anything functional,
but except demonstrate this Deep Neural Network.
>> Yeah, that's the Long Tail?
>> Yes. Okay. So, I want to say, How's the weather?
>> So, I want to say, How's the weather?
>> Is that at the top?
>> Yeah, there it is. Okay. So, I did that on purpose.
What it's doing is,
it recognized that as not being chat.
So, there is a chat classifier that's applied to this,
so it's only responding to chat queries.
It doesn't want to get in the way of
fact-based conversations,
or any task-oriented conversations.
It's staying out of the way of that and only
answering these chat queries.
>> Which in theory like if we think about,
if you're building a bot, when
it comes to specific things,
doesn't your bot should be working on?
But, when it works around the periphery,
then you're like, Okay, that's not for me.
Well, let the AI take care of that. Okay, that's cool.
>> So now, I will ask it some,
get this screen set up here, is not ideal,
but we'll see, what did I ask last time, I said,
Why is it Hi? And this is, Hey, what's up?
>> Who made you?
>> Oh, yeah, okay, let's try that, Who made you?
This is our friendly bot.
So, it probably be friendlier.
Lots and lots of people, so that's nice.
>> Looks like on the right hand side is giving
you some probability scores of what it could tell you.
>> Yes, it's figuring out which response to
give you and whichever one gets
the best score wins and that's what it delivers.
So, you get to see that's kind of fun to watch
too. What I ask next?
>> Do you like them?
>> Okay, yes, Do you like them?
Yes I do, they are very nice.
So, that's awesome. We did not write that.
The machine just wrote that for us.
>> Wow.
>> And also wrote some other stuff too.
So, yeah.
This is, like you said,
in Beta, but it's going to be available very soon.
Any bot can call this API,
and you're going to have
this Long Tail completely covered.
>> The cool thing is like when you're writing these bots,
they're always comes a point where you're like,
"I don't know what to do with this,"
and you have the default,
Sorry, I don't understand.
But now, you can go in like farm that out to this,
and let it do its thing, is that right?
>> Yeah. You're still going to hit it.
They're still going to be things, like I said,
we try to stay away from tasks,
and when you want a real factual answer,
and we've limited the classifier to
certain subbed chat subject areas,
but it could answer any sort of chat query.
But right now, we're limiting it to those subject areas.
>> How do you plug in to this?
Is there like an API that you call?
> There is an API.
Yes. You just called the API,
and your bot will be super smart.
>> Well, this has been amazing,
the one thing that I've
always had a challenge with bots is,
what do I do when I reach the edge.
It looks like, there's a really
good way to build a stopgap.
>> Yeah. You're going to have the Long Tail
covered and these personalities are going to be great.
You're going to be able to differentiate your bot,
and make it speak well for your brand.
If you're a wacky brand,
you might have a humorous bots.
You're going to keep it buttoned up,
you could take that professional bot,
so great differentiator.
>> Awesome.
Well, thanks so much for spending some time with us.
>> Sure.
>> Thanks so much for watching.
We've been looking at how to fill the gap in your bot,
we reached the edge with personality chat.
Thanks so much for spending some time with us.
Thanks so much for watching.
We'll see you next time. Take care.
>> Thanks.