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

506 views Asked by At

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

There are 2 answers

0
Anish On

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.

0
johnrao07 On

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