在Microsoft Bot Framework上连接两个机器人 [英] Connecting two bots on Microsoft Bot Framework

查看:69
本文介绍了在Microsoft Bot Framework上连接两个机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从我的机器人连接到另一个已部署的机器人(可能是通过使用其botId和密码)? (场景:当我的机器人无法理解用户的查询时,它必须将查询转发给另一个机器人以检查其是否知道答案)

How to connect to another deployed bot (may be by using it's botId and secret) from my bot? (Scenario: when my bot does not understand user's query, it has to then forward the query to another bot to check if it knows the answer)

推荐答案

您可以尝试使用直接线.

You could try using Direct Line.

Direct Line API是一个简单的REST API,用于直接连接到 单人机器人.该API供开发人员编写自己的API 客户端应用程序,网络聊天控件,移动应用程序或 服务到服务的应用程序将与他们的机器人对话.

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.

此处

Here and here you will find some C# samples on how to use the API.

这篇关于在Microsoft Bot Framework上连接两个机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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