1

I have created a LUIS application with below steps

step 1: I have created a LUIs web app bot in azure portal, step 2: enabled the channel for Direct link step 3: calling the bot api from my web app (hosten in my iis localhost url)

Now when i type from the chat window from my application, the trigger is happening in the azure web app. But i need to create some data in my localhost web app through REST api/SQL. How can i perform this?

Is there any possibility thata LUIS web app bot can also run in locally and consumed by localhost or is there any otherway to handle this scenario?

Mathiyazhagan
  • 1,389
  • 3
  • 13
  • 37

2 Answers2

2

Look at this sample, 01.browser-echo, from the Botbuilder-Samples repo. It's just an echo bot, so you'll need to update to your code, however the bot is fully contained within the web chat. It does not rely on Azure services or direct line to run, but instead makes use of a custom WebChatAdapter.

Using this setup, you should be able to run the bot completely locally or within a closed network environment. The latter will depend on what you are trying to do, of course (i.e. making API calls, etc.). It is written in Javascript, but makes for a great option.

Hope of help!

Steven Kanberg
  • 6,078
  • 2
  • 16
  • 35
1

I suggest you go through this - Deploying bot to personal server Microsoft/BotBuilder thread. You will find that Is developing bots using Microsoft Bot Framework without Azure possible?.

You can develop the bot over local machine also using the Bot Builder SDK and testing the bot service using the bot emulator running on localhost.

References:
How can I host the .Net Bot application On- premises
Bot Framework without Azure possible?

Niranjan Singh
  • 18,017
  • 2
  • 42
  • 75
  • Thanks Niranjan, I tried this but it works good with bot emulator. But without azure how can i enable web chat or direct link chat for my onprim hosten bot service? do you have any idea plz suggest – Mathiyazhagan Mar 25 '19 at 09:05