How to instruct IBM Watson Discovery about the format of my documents?

ε祈祈猫儿з 提交于 2019-12-23 03:29:10

问题


I am trying to use the Watson Discovery service to build a virtual customer support agent. We have many documents with tons of Q and A in various formats. In the simplest case, we just have a doc, with an array of:

Q:.. A:...

Q:... A:...

etc. When we upload these PDF files and then try to query it, it returns the full document that included the relevant answer. Is there a way to instruct Discover service, so that it will only return the relevant question and answer pair instead of the full document?


回答1:


To have Discovery return the individual relevant QA pairs, they should be split up and passed to the service as separate documents. Discovery does not have a method to split a single document on it's own.




回答2:


If your primary requirement is Q&A, you might probably look into Retrieve-Rank

Discovery is used to deal with complex unstructured data, in your case you have data in a consistent format.

Have a look at this sample app here



来源:https://stackoverflow.com/questions/41190037/how-to-instruct-ibm-watson-discovery-about-the-format-of-my-documents

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