首页 > 解决方案 > How to save user response in DB or External System in watson assistant

问题描述

I'm new in IBM Watson Assistant. I have a use case where i have to ask user for their interest. and i need to save the response in db or call some API and post the user response. any how i want to capture user response in my own system.

I have done basic handson on Watson Assistant. Not able to figure out how to save user response in external system.

If the question is What is your favorite Mobile Brand. Options: Apple , Samsung , Sony

If user Response with Apple. Then I need to save this in my system. So in future i can offer products according to customer interest.

标签: watson-assistant

解决方案


消息 API 响应包含您需要的所有内容。您可以每次将该响应存储在您的数据库中,或者将您的应用程序配置为仅存储特定响应(例如,当检测到某个意图或实体时,因为响应包含那些数据元素)。

更简单地说,您的应用程序已经在控制用户和 Watson Assistant API 之间的信息流,因此您可以完全控制何时以及如何捕获 API 响应数据并将其存储在您想要的任何位置。


推荐阅读