1

I want to make Frequently asked questions and answers bot in dialogflow. I have Q&A files, so I am used knowledge base in dialogflow .i have the 6-7 file i make documents in the knowledge base. but when i ask question bot not sending any response.

Image of knowledge base console

Knowledge Base Document QNA

dialogflow text response screen

harry
  • 37
  • 1
  • 5
  • its still missing response section where you have added `$Knowledge.Answer[1]`, please add that as well. – sid8491 May 22 '19 at 10:41
  • there is a default response in all the screenshots, is there any intent with similar training phrase from where this response might come? you can check `diagnostic info` as well – sid8491 May 22 '19 at 13:08

3 Answers3

4

In the response section you need to give $Knowledge.Answer[1].

knowledge response

sid8491
  • 6,622
  • 6
  • 38
  • 64
  • ,yes i saw your added image but unfortunately its not working still i get default intent response... – harry May 22 '19 at 10:53
3
  • If you can't get answer in your App knowledge connectors won't work with the production SDK for now, you have to use the Beta SDK/API and pass QueryParameters object for the knowledge connector when you use detect_intent function. check the documentation

  • If you can't get answer in the portal you need to adjust KNOWLEDGE RESULTS PREFERENCE to be stronger and lower ML CLASSIFICATION THRESHOLD otherwise the default fallback intent gonna always answer. check the pictures below to see how to:

    enter image description here

    enter image description here

Raad Altaie
  • 1,025
  • 1
  • 15
  • 28
0

The error might just be because you didn't enable the knowledge base

Follow these instructions

Enable the knowledge base

click enable

enable response --> $Knowledge.Answer[1]

Dipesh Lohani
  • 306
  • 3
  • 11