Posts

Showing posts from February, 2019

Step by step Configuration of Azure Bot for QnA maker

Image
Prerequisite of following imstruction is http://www.muhammetatalay.com/2019/02/step-by-step-instruction-of-qna-maker.html
QnA Maker : Build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content.
Azure Bot Service : Build, connect, deploy, and manage intelligent bots to interact naturally with the other parties .

1.1Azure Bot for QnA·Sign In to Azure portal (https://portal.azure.com) ·Select “All Resources” from the left section then click “Add” button from the top menu in the fly-out panel ·Search for Web App Bot ·Select Web App Bot from the result ·Click “Create” from bottom of the newly open section ·Type Bot name, select Subscription, Resource Group, Pricing Tier then ·Click “Bot Template”, select “SDK v3” from SDK Version respectively after that select Question and Answer C# finally click select button bottom of the panel. ·leave rest default ·Click Create to complete Web App Bot. It may take some time to finaliz…

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

Image
1QnA 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.1Configuration·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, Click Resource Group from the menu in the left.

·QnAMaker screen will open

·

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.htmlBot Project creation :
http://www.muhammetatalay.com/2019/02/create-chatbot-application-with.htmlInstallation and Configuration of Microsoft Bot Framework Emulator :
http://www.muhammetatalay.com/2019/02/step-by-step-installation-and.htmlConfigure LUIS service for bot :
http://www.muhammetatalay.com/2019/02/how-to-configure-luis-service-for.html

1.1Connecting to the services from your bot if you go over prerequisities, you will have a visual studio project so in order to connect to the LUIS service, your bot should be configured properly through the .bot file.

In Startup.cs,ConfigureServicesread connection string or other necessary information from .bot to  integrate with external servicesandInitBotServicesuses that information to initialize the services accordingly.

sample of  ".bot " file:


{
  "name": "CRMBot",
  "services": [
    {
      &quo…

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=sharingClick BotFramework-Emulator-4.2.1-windows-setup.exe  Wait until wizard finalizes installationEmulator will be opened automatically
Go to http://www.muhammetatalay.com/2019/02/ngrok-tunneling-practice-for-luis-or.html to make emulator ready for external communications (…

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: HideCopy 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.