Callback In the callback model you make a request and provide a function to be called when the request is completed. Which means one request and one reply. Also in the callback approach you won't receive any result until you receive all the results. Like shown in the example below, until it iterates over all … Continue reading Node.js: Callbacks v/s Events
Microsoft Bot Framework has multiple prompts to get user response while having the conversation such as Prompts.text, Prompts.number, Prompts.Choice, Prompts.confirm But there is automatic validation for number, choice and confirm prompt. For example if the user responds with wrong choice then the chat bot will re-prompt the choices and ask yo to select again. Check documentation here. This post … Continue reading Microsoft Bot Framework: How to validate user response to bot Prompts?
This post is about how can we do text formatting in the Microsoft Bot framework. Like, how to send or receive text in bold, italics, list, quote, links etc. Bold and Italics Multiline Text List Strikethrough text Quote a text Adding Links Adding text in increased font(a heading) Hope it helps you when you are … Continue reading Conversational Text Formatting in Microsoft Bot-Framework
The post is about how can we consume JIRA Cloud REST API to create an issue, retrieve details of an issue, update the fields of an issue, and how to delete an issue in JIRA without actually logging in the JIRA cloud instance. We are using node.js for writing the program here. We will be … Continue reading JIRA Cloud REST API: Create, Get, Update and Delete an JIRA ISSUE using node.js
Searching for similar strings within an array or object map in Node.js
When you create dialog it matches the utterances in the intent created in the LUIS application. To extract the entity from the user utterances we have to use LuisRecognizer.recognize()
Creating an Object map in node.js and how can we access the static and dynamic objects.