Using Microsoft Bot Framework QnA Maker To Quickly Create A Chat Bot

Sep 26

Written by:
9/26/2016 8:42 PM  RssIcon

image

Using the QnA Maker website, you can quickly create a Chat Bot based on your existing database of questions and answers.

image

Robin Osborne sent out a Tweet recently about an article he wrote on the QnA Maker website that allows you to easily create a usable Chat Bot in minutes. After reading his article, I decided to give it a try.

 

A Quick Wedding Advice Bot

image

My wife has a website where she has answered wedding related questions over the years. I decided to use that as the data for my Bot.

image

First, I went to the QnA Maker website and signed in.

image

I clicked the button to Create a new QnA service.

image

They have a mode that will extract questions and answers from your website, but that didn’t work for my wife’s website so I copied the questions from the database (separating the questions from the answers with a colon “:”), pasted them in, and then clicked the Extract button.

image

The service thinks for a bit…

image

… then creates 538 questions and answers.

I click Next.

image

I am then taken to an interface where I am suppose to chat with the Bot and train it.

For this example I skipped this step mostly (so the resulting Bot suffers in ability as a result).

When I am done I click Publish.

image

You are then presented with a link that you can use to chat with the Bot.

(note: At the time of this writing, if you don’t copy the link at this point, you will not be able to obtain it again)

You can play with the Bot I made at this link. Warning, I did not train this Bot at all!

Here are some recent chats:

image

Reaction

This service is clearly still in development, but at this point it is amazing. Microsoft is clearly the leader in creating the tools we need to create truly useful Bots.

Thanks

A big thank you to Robin Osborne for finding this service and writing about it.

Links

QnA Maker Application Website

Create your first QnA bot using botframework’s QnA Maker