Skip to main content

Blog

Saving State data with BotBuilder-Azure in .NET

The Bot Framework Connector State Service was created to ensure that bots built using the Microsoft Bot Framework can keep track of conversation state while the bot itself is stateless. The state service enables your bot to store and retrieve user data, conversation data, a conversation, or a specific user within the context of a specific conversation. A default implementation, using the Connector State….

Command Pattern architecture in your Bot using Scorables

If you are not familiar with the command pattern, click here to read about it. In this article we’ll show you how you can implement the Command Pattern using scorables, which will allow you to create an easily scalable architecture such that you can seamlessly add new features (commands) to your Bot in the future. What are Scorables? Within the Bot Framework .NET SDK, Scorables allows….

Debugging the BotBuilder SDK

Summary When you install the Bot Builder SDK (.NET) nuget package, the source code is already compiled (into a .dll) and by default, Visual Studio will skip over this code when you try to run it step-by-step using the debugger. The Bot Builder SDK module for NodeJS likewise includes already compiled Typescript. This quick guide will show you how to….

Speech Support in Bot Framework – Webchat to Directline, to Cortana

The Bot Framework now supports speech as a method of interacting with the bot across Webchat, the DirectLine channel, and Cortana. In this article we’ll go over the new capabilities, speech recognition priming using LUIS, and a new NuGet package we’ve released which supports speech recognition and synthesis on the DirectLine channel. Web Chat now includes speech capabilities If you’ve ever created and registered….

Load testing a Bot

One of the most common questions and requests we receive from the bot developer community is how developers can perform load testing on a bot. Previously we hadn’t documented this end-to-end, but now we’re providing an authorization scheme to implement load testing for your bots. This guide includes two sections: the first describes hot to authenticate messages to and from….

An Adaptive Cards sample in .NET

Cards today One of the many new Bot Framework features we showcased at Build 2017 was Adaptive Cards. Modern ‘cards’ as a UI feature have existed for several years now, birthed by the advent of the modern web and mobile technologies. Most of us have interacted with cards on some level, whether or not we realize it – a card is a UI container….

Changing locale in a Node.js bot

Back in March we implemented a new feature in the BotBuilder SDK for Node.js which allows developers to provide simple localization switching in their bots. This means your bot will be able to prompt your users for different language options. Using the Node SDK’s LocalizedRegExpRecognizer To add this feature, we included a new recognizer to the core library – LocalizedRegExpRecognizer. This….

Writing a Recognizer

Last month, we announced new number recognizers for LUIS and that we were releasing them open source. In this article, we’ll go over the structure and core concepts of the Recognizers-Text library so that you can build your own! NOTE: We’ll be using the English Number Recognizer to show you the internal workflow. Understanding Recognizers First we’ll examine the IModel interface which defines a contract as shown: public interface….

Bot Framework presentations at Build 2017

In case you weren’t able to attend this year’s Microsoft Build conference, we’ve put together a list of all of the Bot Framework presentations from Microsoft Build 2017 here in this post. We’re deeply proud of all of the new features and changes we’ve made to the Bot Framework, and also confident that we will continue to make it easier to develop….

Microsoft LUIS with Botkit Studio

The Howdy team has released a new version of the Botkit Studio which provides seemless integration with Microsoft LUIS to make it easier for Bot developers to fully utilize the power of conversational AI via language understanding. Check out the official announcement. Providing a focused subset of LUIS’s features, the new Botkit Studio tool is designed to ease the day-to-day workflow of applying natural language tools through….