gpt4 book ai didi

node.js - 如何直接将 Web 服务与 bot 框架通信?

转载 作者:太空宇宙 更新时间:2023-11-03 23:03:53 25 4
gpt4 key购买 nike

我从上周开始就在使用机器人框架。实现了用于 Skype 聊天的 Node.js SDK。

有时我需要在机器人和 API 之间同步调用。服务是否可以直接联系机器人还是只是一种方式?

如果有人有建议,请指导我。

最佳答案

是的,这是可能的。您应该查看 DirectLine .

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, or mobile apps that will talk to their bot.

Here您将找到有关如何使用它的更多信息,这里有 Node.js sample使用 DirectLine 与机器人对话。

关于node.js - 如何直接将 Web 服务与 bot 框架通信?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40904833/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com