How to connect a document in knowledge base to a particular intent in dialog flow

梦想的初衷 提交于 2020-05-24 05:30:06

问题


I have setup a bot where I am trying to give user an option to choose technology they want ( in my case option: angular and node ). So I have created 2 intent one of angular and another node intent. So these two intent again have followup-intent like Node ques 2 , where I am asking user about their experience as :- beginner , intermediate , expert.

So I have different document FAQ ready for each Node and Angular based on experience category.

My problem is:-

  • How can I connect a particular FAQ document to a particular intent ? ( if a user has typed intermediate in angular , then angular intermediate faq questions would be appear on chat only )
  • How can I connect with angular/node FAQ documents only if user has chosen angular/node intent ? ( if someone has chosen angular and tries to search node questions he would be prompted to end and start again from welcome )

PS:- I am using Dialogflow UI as of now. Less knowledge through code. Any lead , examples with switching intent will be good enough for me to understand .

来源:https://stackoverflow.com/questions/61673969/how-to-connect-a-document-in-knowledge-base-to-a-particular-intent-in-dialog-flo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!