-->

How to instruct IBM Watson Discovery about the for

2019-06-08 05:54发布

问题:

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