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

Advertisements

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