Begin Dialog With QnA Maker Bot Framework Recognizer (Node JS)
I was wondering if one can pass a 'Welcome Message' on the beginning of a chat with a bot using QnA Maker recognizer without the model recognizing it as message to send to the mode
Solution 1:
I think this code gives you the behavior you're looking for.
bot.dialog('welcome', [
function (session) {
// Send a greeting and show help.
builder.Prompts.text(session, "Hi! How can I help you?");
}
]);
I think it's falling through because session.send
followed by session.endDialog
is not waiting for the user and it falls through.
Post a Comment for "Begin Dialog With QnA Maker Bot Framework Recognizer (Node JS)"