Posts

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

Do you have Kerberos Authentication (negotiate) issue in your Chrome?

Hello, I was reported that Although there is no issue in the Internet Explorer , Chrome displays access denies during  web sites or service calls . give a try to following keys in registry; Computer\HKEY_LOCAL_MACHINE \SOFTWARE\Policies\Google\Chrome   Name : AuthServerWhitelist Type: REG_SZ Data: *.tcrmuat.jawwal.ps,*.jawwal.ps,tcrmuat.jawwal.ps Name : AuthNegotiateDelegateWhitelist Type: REG_SZ Data: *.tcrmuat.jawwal.ps,*.jawwal.ps,tcrmuat.jawwal.ps Name : DisableAuthNegotiateCnameLookup Type: REG_DWORD Data: 1 enjoy...

Create simple Chatbot solution over Microsoft Bot Framework in visual Studio 2017 - Step By Step instruction

Image
                  Microsoft Bot framework provides tools to build, test, deploy, and manage intelligent bots all in one place. Through the use of modular and extensible framework provided by the SDK, tools, templates, and AI services developers can create bots that use speech, understand natural language, handle questions and answers, and more. Framework works top of .Net Core 2.0 1.       Install Bot Builder Template in Visual Studio 2017 on-premise a.   Open Visual Studio from Windows Search by typing “Visual Studio”. If it does not exist, make sure that you have Visual Studio in your client b.      Click File > Project from Visual Studio 2017 c.   Go to Online from the tree in the left panel then search for “Bot Builder” finally Click Install to Microsoft Bot Builder V4 SDK d.      Visual Studio will install BotBuilderVSIX.vsix in order to configure bot type project 2.       Cl