简体   繁体   English

将 IBM Db2 连接到 Watson Assistant

[英]Connecting IBM Db2 to Watson Assistant

I am trying to connect IBM Watson Assistant to IBM Db2.我正在尝试将 IBM Watson Assistant 连接到 IBM Db2。 The use case is the user will input data through a channel and the data will be inserted in Db2.用例是用户将通过通道输入数据,数据将插入到 Db2 中。 I am under the impression that Node.Js would be needed and I am confused on how to get Data inputted into Db2 through the Watson Assistant.我的印象是需要 Node.Js,我对如何通过 Watson Assistant 将数据输入到 Db2 感到困惑。

Any help would be greatly appreciated.任何帮助将不胜感激。 Thanks in advance!提前致谢!

this Assistant Db tutorial shows how to call from Assistant to a cloud function and then into a database. 这个 Assistant Db 教程展示了如何从 Assistant 调用云函数,然后调用到数据库中。

Although it is querying the database with information from Assistant, the Nodejs code could instead update the database with information from Assistant.尽管它使用来自 Assistant 的信息查询数据库,但 Nodejs 代码可以使用来自 Assistant 的信息更新数据库。 You would have to write this update code for your use case.您必须为您的用例编写此更新代码。

I recommend the same architecture to work with your database.我建议使用相同的架构来处理您的数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM