ApiAiRecognizer
ApiAiRecognizer copied to clipboard
What is the right way to handle default intents?
Hi there, According to docs, if we need to match an intent and respond acc to that then, we can do something like this
intents.matches('intent.name',function(session,args){
session.send("your response");
});
But i just want to declare something like a default intent match so it can just push the default response coming from DialogFlow. So can anyone tell me the right procedure to do it? If no intent matches then bot should use that default one. Thanks in advance.