Amazon Lex compared to Microsoft Bot Framework

A chat bot is a service, powered by rules and sometimes artificial intelligence which converse via natural language text interfaces. Amazon offers its own service on AWS to build Conversation Bots known as Amazon Lex. Whereas, Microsoft offers a set of Cognitive services and Bot Framework to build chat bot on Azure and also locally. … Continue reading Amazon Lex compared to Microsoft Bot Framework

Advertisements

Is developing bots using Microsoft Bot Framework without Azure possible?

Microsoft provides its Bot framework to build smart chat bots. It provides the Bot Builder SDK in two languages i.e Node.js and C#. Azure provides us the setup of developing the web app bot on cloud with integrated web-chat channel and integrated online VScode editor. The bot on Azure is deployed on Azure Web server … Continue reading Is developing bots using Microsoft Bot Framework without Azure possible?

Sending a Payload with custom message in bot framework Direct line API

To have more control over the text formatting of your messages, you can create a custom messageobject and set the properties necessary before sending it to the user. But how can we send a payload i.e extra information through the custom message? The extra information can be useful at client side when using the Direct line … Continue reading Sending a Payload with custom message in bot framework Direct line API

DirectLineAPI – Testing with custom client and POSTMAN – Microsoft Bot Framework

Direct Line API is used enable communication between your bot and your own client application. This post will show you how can we use the direct line API of our BOT to start a conversation and also how to exchange Activities. We are using the Microsoft Sample bot example of Notes Bot. The below pic show … Continue reading DirectLineAPI – Testing with custom client and POSTMAN – Microsoft Bot Framework

Learning about LUIS and Consuming LUIS API in node.js

LUIS is Language Understanding Intelligent Service from Microsoft, as part of Azure Cognitive Services. Several Microsoft technologies work with LUIS: Bot Framework allows a chat bot to talk with a user via text input. Bing Speech API converts spoken language requests into text. Once converted to text, LUIS processes the requests. LUIS allows us to create an … Continue reading Learning about LUIS and Consuming LUIS API in node.js

Microsoft Bot Framework: How to validate user response to bot Prompts?

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?

Conversational Text Formatting in Microsoft Bot-Framework

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

Resolved! – AWS Lex: ‘An error has occurred: Received error response from Lambda: Handled’

While invoking Lambda function through AWS Lex we generally get below error. An error has occurred: Received error response from Lambda: Handled There could be many reasons for this error to occur. Suppose lambda has following callback response function in node.js: Now according to the AWS docs here the fullfilmentState is a mandatory key field also … Continue reading Resolved! – AWS Lex: ‘An error has occurred: Received error response from Lambda: Handled’