In this post, I will walk you through Azure Bot Services(https://docs.microsoft.com/en-us/Bot-Framework) to build and connect a bot but first we need to build our bot's brain and fill it with the knowledge using QnAMaker( http://qnamaker.ai).
This post is divided into following three sections:
- Architecture
- Building the Knowledge Base (KB)
- Building the Chat Bot
Architecture
Following is the architecture of our solution where we will build a service (bot's brain) in QnA Maker and then fill it with our Knowledge Base. Then we will create our bot in Azure Bot Services and link it to the bot's brain (MyBotService) and then we can publish our bot via different channels. We can use Channels to display our bot inside a SharePoint Page, Skype, Teams, Facebook Messenger etc.
- Log on to QnA Maker at https://qnamaker.ai.
- Select Create New Service tab and provide name of the bot service e.g. MyBotService, leave remaining fields as it is and hit Create button to create the service which will serve as brain of the bot.
- You should see the screen where you can provide the knowledge base for your bot. Add couple of questions and their answers by selecting + Add QnA Pair. Once you add few QnA pairs, hit Save and retrain to train your model. You can also provide the questions and answers in text, pdf and document format.
- You can select Test tab to test the knowledge base in chat format.
- Hit Publish once testing is done, and then hit publish again on the next screen to publish MyBotService to the web. We will consumed this service through our Bot.
- Once the MyBotService is published, Save the two values highlighted in the screen shot below as QnAKnowledgebaseId and QnASubscriptionKey. We need this information in our Bot's settings.
Building the Chat Bot
- Log on to Azure at http://portal.azure.com.
- Select New and go to AI + Cognitive Services section and choose Web App Bot.
- Provide a unique Bot Name (e.g. DemoBot101), select Subscription and then choose Bot template as Question and Answer. You can also choose between C# or Node.js SDK which doesn't matter in this case as we are not writing any code. Select Create button at the end to create the Bot.
- Once the basic bot has been created you will be notified and select Go to resources from the notification section to see the Bot's details, settings etc.
- Select Application Settings of the bot and go to the App settings section and provide the value of the keys QnAKnowledgebaseId and QnASubscriptionKey which we copied while creating the MyBotService and hit Save.
- Now you can test the bot from Test in Web Chat tab.
- Once the testing is completed, this Chat Bot can be published to web, Skype, Teams, MSN Messenger etc via Channels.
i adore perusing this article so beautiful!!great work! random texting strangers
ReplyDeleteI feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it. chat room
ReplyDeleteTook me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! free chatting site
ReplyDeleteSuperbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. hkeasychat
ReplyDeleteFolks are sexual creatures, so its no real shock that nearly every new invention is provided a sexual spin on its original purpose. online sexting
ReplyDeleteThere are also no-assistant applications that also include chatbots for purposes of entertainment and for research. There are the social bits that are used to promote issues, candidates and products. There are those that can emulate our human behavior and interact with a set of databases.how to increase conversion rate
ReplyDeleteI wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. https://s3.amazonaws.com/chatterbate/index.html
ReplyDeleteThis is my first visit to your web journal! We are a group of volunteers and new activities in the same specialty. Website gave us helpful data to work. sexting chat
ReplyDeleteFacetime is the recent new technology from Apple. Steve Jobs pushes it that allows you to take people and families closer. http://threesomechatting.com/
ReplyDeleteMany couples anxiously look forward with eager anticipation to the time they see those double lines for their early pregnancy test strip that declare: women looking for couples
ReplyDeletePretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. zcodesystem discount
ReplyDeleteThanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. free chat rooms
ReplyDeleteVery useful info. Hope to see more posts soon!. mw4m craigslist
ReplyDeleteThis is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post.! buku mimpi 2d
ReplyDeleteFacebook is no longer a place to interact with strangers but Wowchat definitely is. Wowchat is a great place to interact with strangers, video call with them, chat with them and more but since Wowchat has been down there are many alternatives of Wowchat that you can use. Wowchat
ReplyDeleteYou may have come across the term chatbots, but what are they and why they are a great opportunity. Well, restaurants chatbot a chatbot is actually a service that is powered mainly by the rules. Other times, a chatbot can be powered by artificial intelligence. This chatbot service can be interacted with through an interface.
ReplyDeletePositive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.
ReplyDeletedeath clock
Nice to read your article! I am looking forward to sharing your adventures and experiences.
ReplyDeletedeath clock
Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing. Chat online without registration
ReplyDeleteI exactly got what you mean, thanks for posting. And, I am too much happy to find this website on the world of Google. what is a chatbot
ReplyDeleteI think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... what is a chatbot
ReplyDeleteA very excellent blog post. I am thankful for your blog post. I have found a lot of approaches after visiting your post. voice app agency
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWeb Solution Centre have a new destination. We are the Website Design Company In Delhi works on creative ideas to bring out the best web designs. Reach us to help you.
ReplyDeleteI recently gifted my friend a beautiful fluorite crystal for her birthday, knowing it would help her with focus and clarity. She loved it and found it to be an incredibly thoughtful present. Buy Healing Crystals Stone
ReplyDeleteThanks for the tips on app marketing! In my experience, Buy Android App Reviews gave my app an early boost, making it easier to reach the top of search results on the Play Store. Of course, ensuring the reviews are authentic is key to avoiding any issues. I'd love to hear from others who've used this strategy—what other methods did you combine it with for the best results?
ReplyDelete