QnA Maker Microsoft

Wow somebody said about 2 years ago "Azure is going to be big" well no shit sherlock back then it was already BIG now it's just getting BIGGER. I've been trying out all sort of features in Azure and I'm amazed how it's all possible in the Cloud. From Stream analytics, VM's, Storage to Bots, AIP, Privilege identity management etc.. So many possibilities! Sure some things are not new and just arrived from the On-premise environment to the Cloud but still. My hat is of to the guys that make it all possible.

So I've talked to colleagues about it for a while now but I've never really gotten anything on Paper. BOTS! Recently I saw an article on Twitter about the QnA maker from Microsoft in Azure and that was the starting point of building my own bot. Now you want to build your own Bot? Below is the steps you can take that will help you build one.
  1. Get an Azure subscription 
  2. Go to https://www.microsoft.com/cognitive-services/en-us/qnamaker
  3. Here is an FAQ that can answer some of your questions about the QnA maker. https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/faqs
  4. Once you created your Bot with the QnA maker you want to hook it up to Azure Bot services (in preview at the time of writing). https://azure.microsoft.com/nl-nl/services/bot-service/
  5. These steps will help you to create the Bot in Azure. https://docs.botframework.com/en-us/azure-bots/build/first-bot/#navtitle
  6. Now once you got it into Azure you want to embed it into a site or in Skype. https://docs.botframework.com/en-us/support/embed-chat-control2/#navtitle, you will need to register your bot here: https://dev.botframework.com/#/bots

Embed Bot in Modern UI

It is possible to embed a Bot in Modern UI. However you need to add webchat.botframework.com to the list of trusted HTML sites.

Go to Site settings > HTML Field Security > Add the webchat.botframework.com to the list of trusted sites.

Add a "Embed" webpart in Modern UI and put the code in there. Resize to fit the page should be on OFF.  Your all set now! It's not the most beautiful thing but hey there is your bot!



References:
https://docs.botframework.com/en-us/support/embed-chat-control2/#navtitle
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/faqs
https://docs.botframework.com/en-us/azure-bots/build/first-bot/#navtitle
https://azure.microsoft.com/nl-nl/services/cognitive-services/qna-maker/
https://azure.microsoft.com/nl-nl/services/bot-service/
https://dev.botframework.com/#/bots

Comments

Popular posts from this blog

Azure Information Protection (AIP)

Tiles modern UI

Azure Active Directory (AAD)