Azure cognitive services chatbot12/9/2023 ![]() Great, now lets get some data and feed it to the bot for your users to consume, start by populating it with data from the supported data sources. Now lets give it a meaningful and easy to remember name that anyone will be able to make sense of. Head back to your QnAMaker tab and continue with Step 2 by first clicking Refresh then picking your Azure tenant, Subscription and the new Azure QnA Service you just created. It usually takes a few minutes, but eventually you should see a notification that your deployment is complete. You will get a notification that the deployment is in progress in the notifications area of Azure. When you fill in the App name, keep in mind this is unique subdomain at so you will need to find a unique name to not conflict with someone else. I personally disable app insights as well, then click Create Now, fill in the Name, pick your Pricing tier, Search pricing tier, App name. You will need to change the Website Location first at the bottom of the page to another region (I used West US) for the pricing tier options to appear. Once you sign into the Azure portal, you should automatically be taken to the Create a resource page to create a QnA Maker resource. This will take you into Azure to create a new QnA maker service in your Azure tenant. It’s not! you just need to re-enable your account, its still included in the free services) Creating the Azure QnA Maker Serviceįirst off we need to create the required services in Azure, so head over to, click Create a knowledge base and login using your MSA account if requested.Ĭlick on the Create a QnA service button. This will make it appear like all your data in QnAMaker is gone. (A note here on the free tenant, I got caught here, if you exceed the 30 day trial Azure will protect you from spending any money by disabling your account. I’ve even gotten it talking to a free Teams tenant. This is all hosted on my Teams tenant with my free Azure account. To get this up and running we don’t need to spend any extra money. Data in a Supported Format to feed the AI hamsters (Webpages, Word Docs, PDFs).An Azure Account (A free one works fine).Your going to need a few things to get started Okay, maybe its not quite that simple, but its simple and quick enough I did it in 20 minutes on stage. Let QnAMaker make a Web App Bot Service.Create App Service in Azure (if needed).Okay, you have sold me / I just want to build the bot already! What do I do? Well with a bit of help we can get a Microsoft Teams Bot to do similar things by puling data from You can see I asked the service in simple terms (1) “What’s the velocity of an unladen swallow”Īnd it tried its best to provide an (2) answer with a bit of context, and then provides a link with a (3) source for its information. See an example of Google’s cognitive services in action (Sorry Bing, you didn’t get the joke) It will sometimes try to provide a bit of context to this by perhaps showing a snippet of data or where it got it from. ![]() The cognitive services behind whatever assistant tries to understand the context of your question, searches it’s data sources and tries to answer the question as best it can. Let me ask you this, how many times have you used a personal assistant like Cortana, Google Assistant or Alexa to pull information from an online service? Something like “Hey Cortana, What’s the velocity of an unladen swallow?” or “What time does the servo close?” So why would I want to build a bot for Microsoft Teams using Microsoft Cognitive Services? Yet there are still needs for some basic interactions with users using Microsoft Teams and a data source, a process or even some other system and I’ll go into some of the other methods like PowerApps and Flow in another article. But there is a clear difference between a developer that writes applications / services and an admin that writes code to simplify technical tasks. Sure things like PowerShell really blur the lines between development and operations. Not all of us are code cutters / developers. He had originally intended to present a similar themed session but got called off to Ignite □ First things first however, I need to credit Loryan for giving me the idea. Feel free to contact me if you would like me to present this at your event. I gave a live demo from start to finish on how to make a simple QnA bot for Microsoft Teams using QnAmaker.ai and Azure cognitive services. Note: This is a session I’ve given at the Melbourne UC user group and the Sydney UC user group. Today I’m publishing it again with the much simpler steps using the new version of the Chat Bot Service and QnAMaker. Six months ago I published the old version of this article after having to quickly fill in for another MVP at a user group session. Note: This version of the article has been updated for Azure Bot Service SDK v4 the older one can be found here for archival reasons.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |