简体   繁体   English

如何将 Azure Web App Bot 配置为 Teams 中的应用程序

[英]How to configure Azure Web App Bot as an App in Teams

I have been working on QnAMaker based web app bot in Azure, the developed bot works fine in web chat I am now looking for creating Bot as a MS TEAMs app and use there, for this purpose.我一直在 Azure 中研究基于 QnAMaker 的 web 应用程序机器人,开发的机器人在 web 中运行良好,我现在正在寻找一个 MS 聊天应用程序,并将其用于创建此应用程序。 First I have added TEAMS as a channel in the Web App Bot and looking into how I can create the bot as an App using Teams App Studio - Manifest Editor.首先,我在 Web App Bot 中添加了 TEAMS 作为频道,并研究了如何使用 Teams App Studio - Manifest Editor 将机器人创建为应用程序。

My Questions are我的问题是

  1. Is it a correct way to use App Studio Manifest editor to create an app if we want Bot App to be used as Line of business app in organization's Tenant?如果我们希望将 Bot App 用作组织租户中的业务线应用程序,那么使用 App Studio Manifest 编辑器创建应用程序是否是正确的方法? Is there any clear documentation on this?有这方面的明确文件吗?

  2. Can we also use Power Virtual Agents for the same purpose?我们也可以将 Power Virtual Agents 用于相同目的吗?

So it's definitely possible to do what you're doing and I think it's a good way to start, especially if you are new to Bot development - getting the bot up and running by itself, and then integrating it into Teams.所以绝对可以做你正在做的事情,我认为这是一个很好的开始方式,特别是如果你是 Bot 开发的新手——让机器人自行启动并运行,然后将其集成到 Teams 中。 You can definitely bring it into Teams at this point using App Studio's "Bot" section, and then deploy using App Studio as well to your test account.此时,您绝对可以使用 App Studio 的“机器人”部分将其引入 Teams,然后也可以使用 App Studio 将其部署到您的测试帐户。 When you want to deploy it to the rest of the tenant, you can download the app manifest from App Studio and upload it to the Tenant's app store for wider use.当您想将其部署到租户的rest 时,您可以从App Studio 下载应用清单并上传到租户的应用商店以供更广泛使用。

It's important to note though that are a whole bunch of ways to create bot apps, so the documentation might well lean towards one or another.重要的是要注意,尽管这是创建机器人应用程序的一大堆方法,因此文档很可能倾向于其中一种。 For instance, the Teams Toolkit will start with a different way to register things and a different type of language and bot starting point.例如,Teams Toolkit 将以不同的注册方式以及不同类型的语言和机器人起点开始。 That doesn't mean one approach is more valid or even more preferred.这并不意味着一种方法更有效甚至更受欢迎。 There's a main "starting point" for docs though that will be helpful: https://docs.microsoft.com/en-us/microsoftteams/platform/bots/what-are-bots文档有一个主要的“起点”,尽管这会有所帮助: https://docs.microsoft.com/en-us/microsoftteams/platform/bots/what-are-bots

Power Virtual Agents is another possible route, and for Teams specifically you can see more here . Power Virtual Agents 是另一种可能的途径,特别是对于 Teams,您可以在此处查看更多信息。 It's a very different hosting model, development model, and possibly pricing model for PVA though.这是一个非常不同的托管 model,开发 model,并且可能为 PVA 定价 model。

If you're new to bots entirely, there are a bunch of other topics worth reading up on, like LUIS, Language Generation, Dialogs, and more.如果您完全不熟悉机器人,还有许多其他主题值得一读,例如 LUIS、语言生成、对话框等。 For your context though, I'd suggest looking more in LUIS in particular to deal with things beyond the basic Q+A capabilities (eg what to do when the bot can't find an answer in the KB).不过,对于您的上下文,我建议更多地关注 LUIS,特别是处理超出基本 Q+A 功能的事情(例如,当机器人在 KB 中找不到答案时该怎么办)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM