在 Microsoft Bot Framework 上连接两个机器人
Connecting two bots on Microsoft Bot Framework
如何从我的机器人连接到另一个已部署的机器人(可能是通过使用它的 botId 和秘密)?
(场景:当我的机器人不理解用户的查询时,它必须将查询转发给另一个机器人以检查它是否知道答案)
您可以尝试使用直线。
The Direct Line API is a simple REST API for connecting directly to a
single bot. This API is intended for developers writing their own
client applications, web chat controls, mobile apps, or
service-to-service applications that will talk to their bot.
的 C# 示例
如何从我的机器人连接到另一个已部署的机器人(可能是通过使用它的 botId 和秘密)? (场景:当我的机器人不理解用户的查询时,它必须将查询转发给另一个机器人以检查它是否知道答案)
您可以尝试使用直线。
的 C# 示例The Direct Line API is a simple REST API for connecting directly to a single bot. This API is intended for developers writing their own client applications, web chat controls, mobile apps, or service-to-service applications that will talk to their bot.