How to instruct IBM Watson Discovery about the for

2019-06-08 05:31发布

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?

2条回答
时光不老,我们不散
2楼-- · 2019-06-08 05:57

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

查看更多
女痞
3楼-- · 2019-06-08 06:11

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.

查看更多
登录 后发表回答