Connecting two bots on Microsoft Bot Framework

两盒软妹~` 提交于 2020-01-01 19:29:07

问题


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)


回答1:


You could try using Direct Line.

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.



来源:https://stackoverflow.com/questions/43853535/connecting-two-bots-on-microsoft-bot-framework

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!