- [Instructor] We're all programmed to respond
to certain things in certain ways.
If someone says something funny, we laugh.
If someone asks us a question, we answer.
Machine learning can help you to teach a bot
to do the same sorts of things.
In seeing how marketing has become much more
about having a conversation with your customers,
versus the old push style of marketing,
it's easy to see how that can be applied
to your marketing programs.
Let's see how you can spin up your own bot.
We're going to look at this part
of the Azure Cognitive Services.
I have the web page up so you can see
where to go to set up your own account
if that's something you decide to do.
I already have an account,
and I'm logged into the Azure portal right here.
To spin up our own bot, what we do is
we create a resource.
And you can find that in the Azure portal
on the left hand side.
Top left of that menu, click on create a resource.
And now, under the heading of Azure marketplace,
there's also a heading called AI and Machine Learning.
Let's go ahead and click on that.
And then from there, the list of featured services
that loads just to the right of that,
there's Web App Bot.
And so once you find that, go ahead and click on
Web App Bot.
And that will load in a new configuration screen.
So let's give our bot a name.
Let's just call it Machine Learning for Marketing 001.
I've got this listed as my subscription service.
It's going to create a new resource group
by that same name, and that's fine for me there.
Let's go ahead and choose a different region.
That may be more conducive to where we're located.
I'm going to choose West US two.
When you look at your pricing tier,
you can choose the drop down and select F0
for a free tier if you're just running an experiment,
and really just trying to get this under your feet.
No need to be paying for that if they offer
a free service.
There are a number of different bot templates as well.
And that's something that you can decide on later.
And then we wanna make sure that we've got our
app service plan selected.
Our storage selected.
We can select an existing storage plan
or spin up a new one.
I'm actually going to turn off the application
insights for right now.
'Cause that's just going to create some log files
that we're not gonna look at in this particular demo.
And then I'm just gonna go ahead
and pin this to the dashboard.
And click create.
Once our new bot service has completed spinning up,
we can click on All Resources on the left hand side
of the Azure portal.
And from there we can see all the services that we have
running under this account.
And the new MLFM001 bot that we just
spun up is listed there.
Let's go ahead and click on that.
And then we can see how this works
by clicking on test in web chat under the bot management.
And this brings up the ability for us to begin
to really test how this bot will work.
And so we can type in something like hello.
And the bot said back to us, "You said hello?"
How are you?
And so the bot said, "How are you?"
And so what this is really showing us
is that the bot is now echoing back the phrases
that we're entering in here.
And so what that can give us the ability to do
is to train the model for the bot itself
to be able to respond to specific phrases.
And so if we wanted to respond to hello,
or greetings, hi, those sorts of phrases,
we could train our bot to be able to do that.
If we wanted to have the bot respond to how are you
in certain ways that are applicable
to our brand and our overall tone,
then we can do those types of things as well.
So in this video, we looked at the portal
for cognitive services.
We spun up our own bot in the Azure portal.
And we tested the bot's ability to listen and to respond.
Using chat bots opens up a new playground
to implement creative concepts for your marketing.
And to deliver value to strengthen customer experience.