watson-assistant - 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.
解决方案
消息 API 响应包含您需要的所有内容。您可以每次将该响应存储在您的数据库中,或者将您的应用程序配置为仅存储特定响应(例如,当检测到某个意图或实体时,因为响应包含那些数据元素)。
更简单地说,您的应用程序已经在控制用户和 Watson Assistant API 之间的信息流,因此您可以完全控制何时以及如何捕获 API 响应数据并将其存储在您想要的任何位置。
推荐阅读
- javascript - 使用 Javascript 计算列表项的长度
- azure - 将 (CD) SignalR 控制台应用持续部署到 Azure 应用服务
- c# - 如何在应用程序中注册用户活动?
- delphi - 如何在 fastreport 中合并单元格?
- python - Web 抓取 Python 脚本不会给出错误或结果。是请求问题还是 XPATH 问题?
- html - 类型错误:结果集不可调用 - BeautifulSoup
- angular - 模板解析错误:无法绑定到“showMePartially”,因为它不是“allrecords-app”的已知属性
- azure - 从 Azure 门户中删除 Azure DevOps 项目
- react-native - React-native-navigation:如何启动 Playground 应用程序?
- go - 去使用 fsnotify 监视文件已更改不起作用