在Azure中不再建议功能Bot是Bot服务吗? [英] Is Functions Bot no longer a recommended Bot Service in Azure?

查看:95
本文介绍了在Azure中不再建议功能Bot是Bot服务吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个没有服务器的系统,我希望向其添加Bot Framework,主要是为了向不同的聊天频道提供集成.我当时正在考虑尝试在Bot Service中创建功能性Bot.但是,当我开始创建一个消息时,会收到以下信息:

I have a system that is serverless and I'm looking to add Bot Framework to it, mainly to provide integrations to different chat channels. I was thinking about trying out creating a Functions Bot in Bot Service. But when I start creating one I get this info message:

功能Bots基于SDK v3,终身支持将于2019年12月31日终止.我们建议您改为创建一个SDK v4 Web App Bot.了解有关SDK v3终身支持的更多信息.

Functions Bots are based on SDK v3, lifetime support will end 12/31/2019. We recommend you create a SDK v4 Web App Bot instead. Read more about SDK v3 lifetime support.

我阅读了有关SDK v3生命周期支持的链接文档,但未提及有关功能机器人的任何内容,仅提及不赞成使用SDK v3.

I read the linked document about SDK v3 lifetime support, but it did not mention anything about Functions Bots, only about the SDK v3 being deprecated.

我对Functions Bots为什么仅支持SDK v3以及这是否意味着它们在2019年12月31日后将不可用感到困惑.该消息清楚地表明,我应该创建一个Web App Bot而不是一个功能Bot.这是否意味着我不应该再创建功能性机器人了?

I'm confused about why Functions Bots only support SDK v3 and whether this means that they will not be available after 12/31/2019. The message clearly says I should create a Web App Bot instead of a Functions Bot. Does this mean that I should not create a Functions Bot anymore?

这对我来说是个问题,因为我们的系统是完全无服务器的,并且我也希望拥有Bot Service的无服务器版本,并且我认为这意味着创建功能Bot,因为它运行在Azure Functions和使用计划上.如果我没记错的话,那么Web App Bot只是在常规托管计划上运行的App Service.

This is problematic for me since our system is completely serverless and I would like to have a serverless version of Bot Service also and I thought it meant creating a Functions Bot, since it runs on Azure Functions and a consumption plan. If I'm not mistaken then Web App Bot is just an App Service running on a regular hosting plan.

有人可以向我解释是否还有一种方法可以仍然在Azure功能和使用计划上运行Bot Service,而不是App Service常规托管计划吗?

Could anyone explain to me if there is a way to still run Bot Service on Azure Functions and consumption plan, instead of App Service regular hosting plans?

推荐答案

请注意不要将通过Azure Functions路由事件/消息与具有实际Functions Bot服务的机器人混淆.功能机器人是利用Botbuilder v3 SDK体系结构构建的.此后,v3已被Botbuilder v4 SDK体系结构所取代.作为此重新设计的一部分,决定将功能机器人扩展到v4设计路线图.

Be careful not to confuse routing events/messages thru Azure Functions to a bot with the actual Functions Bot service. Function bots were built utilizing the Botbuilder v3 SDK architecture. v3 has since been replaced with the Botbuilder v4 SDK architecture. As part of this retooling, the decision was made to not extend Function Bots to the v4 design road map.

正如我提到的,可以构建响应某些输入或触发器的Azure功能.这样,该功能可以在客户端和v4 Azure托管的bot之间路由数据,事件和/或活动.

As I mentioned, it is possible to build an Azure Function that responds to some input or trigger. In this way, the function could route data, events, and/or activities between the client and the v4 Azure hosted bot.

希望有帮助!

这篇关于在Azure中不再建议功能Bot是Bot服务吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆