我可以将 LUIS Bot 用于 Intranet Web 应用程序来创建数据吗

Can i use LUIS Bot for intranet web application to create data

我已经通过以下步骤创建了一个 LUIS 应用程序

第 1 步:我在 Azure 门户中创建了一个 LUI 网络应用程序机器人, 第 2 步:为 Direct link 启用频道 第 3 步:从我的 Web 应用程序调用机器人 api(在我的 iis 本地主机 url 中托管)

现在,当我从我的应用程序的聊天 window 中键入内容时,触发器发生在 Azure Web 应用程序中。但是我需要通过 REST api/SQL 在我的本地主机 Web 应用程序中创建一些数据。我该如何执行此操作?

是否有可能 LUIS 网络应用程序机器人也可以 运行 在本地并由本地主机使用,或者是否有任何其他方式来处理这种情况?

我建议你完成这个 - 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.

参考文献:
How can I host the .Net Bot application On- premises

查看来自 Botbuilder-Samples 存储库的示例 01.browser-echo。它只是一个回声机器人,因此您需要更新您的代码,但该机器人完全包含在网络聊天中。它不依赖于 Azure 服务或直接连接 运行,而是使用自定义 WebChatAdapter。

使用此设置,您应该能够 运行 机器人完全在本地或在封闭的网络环境中。当然,后者将取决于您要做什么(即进行 API 调用等)。它是用 Javascript 编写的,但它是一个很好的选择。

希望得到帮助!