作为 MS Teams Bot 的 Bot Framework 虚拟助手

Bot Framework Virtual Assistant as MS Teams Bot

使用 MS Virtual Assistant 模板我部署了一个机器人,带有 LUIS、QnA maker 等,但是使用我以前使用的方法,我无法在团队中安装机器人来使用已部署的内容。 .. 任何指导、参考资料都将对 MS VA 团队中的机器人部署有很大帮助

您必须为您的虚拟助手应用程序注册明确添加图形权限。有一个关于如何添加权限的指南 here (Azure Active Directory > App Registrations > Your App > API Permissions.

我不认为 Bot 注册是您想要的,根据 我的理解是 Bot Channels Registration 资源是将您的 bot 从 Azure 外部连接到 Azure 支持的通道,即您在您自己的框架中编写了您自己的自定义机器人,但您想通过 Azure 机器人服务将其公开给人们。

要在 MS Teams 中测试机器人并将其投入生产,您需要为 MS Teams 频道注册您的机器人。你去Your Bot > Channels > MS Teams > Click through the prompts。官方指南可用 here.

完成上述操作后,您将能够通过它的 ID Guid(Microsoft App ID - 可以在 Your Bot > Settings 下找到)在 MS Teams 中访问您的机器人。您可以在团队的搜索栏中搜索 Microsoft App ID,然后您的 bot 应显示在 this documentation 的人员选项卡下。在此阶段,您正在与托管在 Azure 中的机器人对话,但它仍未发布。

当您对机器人功能感到满意时,您可以查看 creating an app package for your bot - I would recommend using App Studio for this, if you need to publish it to only the catalog for your tenant then a guide is available here

除了 运行 你的 bot 在本地但在你选择的频道(MS Teams,网络聊天等)中调试它你可以按照 this guide 进行远程调试 暂时通过ngrok设置。