问题
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