I'm using botkit
with luis
recognizer and below is the sample code:
bot.dialog('OnboardingDialog', (session) => {
....
....
}).triggerAction({ matches: 'OnboardingBook' })
I have defined onboarding intent in responses as below:
OnboardingBook:{buttonTitle:'',url:'',response:'new hire can be onboarded some extra stuff',title:'Onboarding book'}
CookBook: {buttonTitle:'',url:'',response:'this is about cookbook',title:'cook'}
Ideally, if I type onboarding in my chat bot, it should return response defined in Onboarding intent. But right now its giving me other intent answer. If i type, onboarding book its giving me cook book intent.
Please help me out why few intents are matching with other than expected. Is there any logic behind this? How to resolve this problem. Please help me out.