How to tie a backend to Watson's Conversation service?

做~自己de王妃 提交于 2020-02-02 10:10:22

问题


I am using Conversation service in my application, at the backend I want to use the corpus I have setup so that I can ask deep technical questions since my corpus has been populated with Technical videos and articles spanning 20+ years.

Can you please point me to examples where Conversation service has been integrated with backend Watson services ?


回答1:


There is an example of integrating Retrieve and Rank at http://conversation-enhanced.mybluemix.net/

The code to show this integration is housed at https://github.com/watson-developer-cloud/conversation-enhanced




回答2:


I did find the code where the query is constructed with the user's input and the backend corpus is searched , the class in github is here : https://github.com/watson-developer-cloud/conversation-enhanced/blob/master/src/main/java/com/ibm/watson/apis/conversation_enhanced/rest/ProxyResource.java



来源:https://stackoverflow.com/questions/38646387/how-to-tie-a-backend-to-watsons-conversation-service

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