0

We have created an IBM Watson Assistant service as PLUS plan and integrated IBM Watson Discovery with it using the Search skill option. We are able to get the response from Discovery through Assistant but the results we got have many passages and we want to display only top 1 or 2 answers.

We are not finding any option to customize from Search skill. How can we customize the results?

data_henrik
  • 16,724
  • 2
  • 28
  • 49
user2319726
  • 143
  • 1
  • 1
  • 10

1 Answers1

0

You can apply the Watson Discovery filter syntax to the query results. There is some mention of it in the Troublshoot section of the Search skill documentation. You may want to apply the count operator whichh is described in the Watson Discovery docs on building queries.

data_henrik
  • 16,724
  • 2
  • 28
  • 49
  • ,thanks for your reply. I tried adding count:2 parameter in Dialog filter option and now I am not getting any results form discovery, if i remove count i am able to get results .. – user2319726 Jul 11 '19 at 11:18
  • Try without count but with other filters – data_henrik Jul 11 '19 at 12:43
  • I tried with confidence score still its not working. – user2319726 Jul 11 '19 at 18:34
  • You can try the different filters within your discovery instance first, in the "Build Queries" section/tab. - try natural language + More Options. Once you have working queries + filters here you can transfer them into your conversation "search skill" dialog node. You can see the query in the summary window within discovery, and as an example count=x is one of those fields. – timd Jul 12 '19 at 09:14
  • @timd, thanks for your reply. I tested in discovery service and i am able to see exact answer/data for my queries and same thing i have added in conversation but i am not getting proper response. its still showing 3+ options as answer – user2319726 Jul 15 '19 at 08:44
  • Hi can you let me know which parameters/filters/etc you are trying, in discovery and then in conversation, and I can check myself in my own instance. Thanks – timd Jul 16 '19 at 20:45