Posts

Step by step instruction of QnA Maker configuration then Train it based on Dynamics CRM Sample Data Knowlegedbased artciles

Image
1                                 QnA Maker Build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content. In my try, I used Sample Data of Dynamics CRM online  for Knowledged bases. You can skip it and copy-paste any text or KBs. 1.1                             Configuration ·         https://www.qnamaker.ai/ sign in to the service. ·         Create a QnA Maker Service by clicking “Create a knowledge base” menu item. ·         A from will display then click “Create a QnA service” button under “Step 1“ ·         A Windows is pop up. the Microsoft Azure main page is loaded with the current account (If you have login problem, you should contact Microsoft Support to review Microsoft Azure subscription) ·         Fill the fields and click create. ·         QnA Maker Creation may take some time. You can follow the progress from the menu. ·         Once Deployment finalizes,

Make your Chatbot ready (Microsoft Bot Framework).to work with LUIS

Image
Prerequisities : LUIS Service : http://www.muhammetatalay.com/2019/02/luis-language-understanding-intelligent.html Bot Project creation : http://www.muhammetatalay.com/2019/02/create-chatbot-application-with.html Installation and Configuration of Microsoft Bot Framework Emulator : http://www.muhammetatalay.com/2019/02/step-by-step-installation-and.html Configure LUIS service for bot : http://www.muhammetatalay.com/2019/02/how-to-configure-luis-service-for.html 1.1                             Connecting to the services from your bot if you go over prerequisities, you will have a visual studio project so i n order to connect to the LUIS service, your bot should be configured properly through the .bot  file. In  Startup.cs ,   ConfigureServices   read connection string or other necessary information from .bot to  integrate with external services   and   InitBotServices   uses that information to initialize the services accordingly. sample of  ".bot " file:

Step by Step installation and configuration guide of Microsoft Bot Framework Emulator

Image
The Bot Framework Emulator is a desktop application that allows bot developers to test and debug bots built using the BotBuilder SDK. Note : *********** Bot Builder SDK (optional) can be downloaded from :  https://github.com/microsoft/botbuilder if it does not work, you can download it from my local copy : https://drive.google.com/file/d/16blvTB1Vc1y43LrW0LzcKsgsOYETGLW8/view?usp=sharing  . It was 2019, January build. *********** follow below steps in order to install emulator: Download Emulator : https://github.com/Microsoft/BotFramework-Emulator/blob/master/README.md#download if it does not work , you can download of my local copy (2019, February, 22)  https://drive.google.com/file/d/1frdR4osMPjO8-szDK0Y0Kba5GptsWrNr/view?usp=sharing Click BotFramework-Emulator-4.2.1-windows-setup.exe  Wait until wizard finalizes installation Emulator will be opened automatically Go to  http://www.muhammetatalay.com/2019/02/ngrok-tunneling-practice-for-luis-or.html  to mak

Workaround of Record creation problem in Dynamics CRM 365 Online from ".NET Core 2.1"

If you want to make any calls from .NET Core 2.1 app to Dynamics CRM 365 online, you will face the following error: Hide     Copy Code System.TypeLoadException : 'Could not load type 'System.ServiceModel.Description.MetadataConversionError' from assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.' It is incompatibility of metadata serialization. Please have a look at my article from  https://www.codeproject.com/Tips/1278009/Create-a-Record-in-Dynamics-CRM-365-Online-From-NE good luck.

NGROK - tunneling practice for LUIS or Microsoft Cognitive Services on Microsoft Bot Framework solution

Image
ngrok exposes local servers behind NATs and firewalls to the public internet over secure tunnels. You download and run a program on your machine and provide it the port of a network service, usually a web server. It connects to the ngrok cloud service which accepts traffic on a public address and relays that traffic through to the ngrok process running on your machine and then on to the local address you specified. It is great to be used for LUIS integration under Microsoft Bot framework emulator for robust communication. Download file from  https://github.com/Microsoft/BotFramework-Emulator/wiki/Tunneling-(ngrok)   or   follow the link of my local copy ngrok.exe :  https://drive.google.com/file/d/1pjMhTpf7PC3fkLNXpajM59pbBlG2aFJm/view?usp=sharing   then configure the path in emulator as seen below; a.       Download the ngrok executable from https://ngrok.com/ to the local machine where emulator runs. Site contains step by step instruction. You need

how to configure LUIS service for ChatBot (Microsoft Bot Framework)

Image
Prerequisties : LUIS Service :  http://www.muhammetatalay.com/2019/02/luis-language-understanding-intelligent.html Bot Project creation :  http://www.muhammetatalay.com/2019/02/create-chatbot-application-with.html It is necessary to update “<Project Name>.bot " file in the Visual Studio solution for the LUIS service account (as described bullet 2 above) Information can be obtained from LUIS application by choosing “Manage” section from the page (as described bullet 1 above): Append following LUIS service to the .bot file of the project in Visual Studio:   { "type" : "luis" , "name" : "LuisBot" , "appId" : "3c4dd5df-e45c-405e-8d48-2faa95918dcc" , "version" : "0.1" , "authoringKey" : "e38f05d2f3894d9ba38c6158c7ae46c1" , "subscriptionKey" : "e38f05d2f3894d9ba38c6158c7ae4