Latest release: v4.13.0 (05/11/2021) - Release Notes
Bot Framework Community - .NET Components & Extensions
You can also read about how to contribute and report issues.
Use the links below to jump to a section to see a list of current components and other projects / packages available for use with Composer and the Bot Builder .NET SDK.
This repository contains
- Bot Framework Components - Primarily used with through Bot Framework Composer and the Package Manager.
- Bot Builder SDK Packages - For use with Bot Builder .NET SDK projects. Require manual installation / configuration and cannot be used with the Bot Framework Composer Package Manager.
Bot Framework Components
Components are part of the component model for building bots with re-usable building blocks. You can learn more about components and the component model here. You'll primarily use components through Bot Framework Composer - a visual bot authoring canvas for developers. From Composer you can add and remove packages from your bot.
- Custom Actions
- Adapters / Composer Connections
- Live Agent Handoff
- Pre-built Adaptive Dialogs
- Other Components
|Call Dialogs||Actions for calling dialogs in parallel. Normally composer dialogs are executed in series one after the other, but using the AddDialogCall action you can build up a list of dialogs to call in parallel using the CallDialogs action.||Sample|
|Storage Actions||Actions (read / write / delete) for reading and writing items to the bots configured storage provider.||Sample|
|Input Prompts||Prompt actions for accepting input from users. Contains actions for accepting email, phone number and social media mentions / hashtags.|
Composer Connections / Adapters
|Amazon Alexa||Add a bot to Amazon Alexa devices, via Alexa Skills. Includes broad support for Alexa Skills capabilities, including devices with displays (Show / Spot), Alexa Cards, access to user profile data and the ability to send Progressive Responses.|
|Google Actions SDK (latest)||Add a bot to Google Assistant devices using Google Actions and the latest Actions SDK. Includes broad support for Google Actions capabilities, including Cards and suggestion chips|
|Azure Communication Services SMS||Allows a bot to communicate via Azure Communication Services SMS, to send / reveive SMS messages, including receiving delivery reports.|
|Zoom||Enable a bot to communicate via Zoom. Specifically developed to handle Zoom chatbot app requests and allow for the sending of messages using Zoom Message Templates. The adapter will also receieve any event subscribed to via Zoom, even those not chatbot related.|
Live Agent Handoff
|LivePerson||Enables handing off a bot conversation to the LivePerson platform, to either a LivePerson virtual agent or a human agent.|
|ServiceNow||Enables handing off a bot conversation to the ServiceNow platform, allowing the ServiceNow virtual assistant to handle the conversation.|
Pre-built Adaptive Dialogs
|Get Weather||Declarative assets supporting scenarios for "getWeather" utterances.|
|Token Exchange Skill Handler||A CloudSkillHandler component for enabling Single Sign On Token Exchange between a root bot and skill bot.|
Other .Net SDK Packages (non-component)
The projects and packages contained within this section are available as traditional NuGet packages. i.e. they are not Bot Framework Components and can therefore not be used with Bot Framework Composer's Package Manager.
Over time we plan to make Components for each of these projects available and we will link to those components from each project as they become available.
The following adapters can be used to expose your bot on additional channels not supported by the Azure Bot Service, such as Alexa.
|Azure Communication Services SMS Adapter||An adapter to integrate with Azure Communication Services to send / reveive SMS messages, including receiving delivery reports.||Sample|
|Alexa Adapter||An adapter to allow for Alexa Skills to be built using the Bot Builder SDK. Includes broad support for Alexa Skills capabilities, including devices with displays (Show / Spot), Alexa Cards, access to user profile data and the ability to send Progressive Responses.||Sample|
|Facebook Adapter||An adapter that communicates directly with the Facebook API, and translates messages to and from a standard format used by a bot. Includes support for Facebook Handover Protocol.||Sample|
|Google Actions SDK (latest) Adapter||An adapter to allow for Google Actions to be built using the Bot Builder SDK via the latest Actions SDK (note: DialogFlow and legacy Actions SDK projects should use this alternate adapter. Includes broad support for Google Actions capabilities, including Cards and suggestion chips||Sample|
|Google DialogFlow and legacy Actions SDK Adapter||This adapter supports integration with DialogFlow and legacy Actions SDK projects with the Bot Builder SDK. Includes broad support for Google Actions capabilities, including Cards and suggestion chips||Sample|
|Slack Adapter||An adapter that communicates directly with the Slack API, and translates messages to and from a standard format used by your bot.||Sample|
|Twilio Adapter||An adapter that communicates directly with the Twilio API, and translates messages to and from a standard format used by your bot.||Sample|
|Twitter Adapter||An adapter that integrates Twitter Direct Messages with the Bot Builder. The adapter sets up the required webhooks and responds to CRC requests. The webhooks code is based on the work by Tweety with modifications to support the Premium tier of the Account Activity API.||Sample|
|Webex Adapter||An adapter that communicates directly with the Webex Teams API, and translates messages to and from a standard format used by your bot.||Sample|
|RingCentral Adapter||An adapter that integrates the RingCentral Platform API with the Bot Builder. The adapter sets up the required webhooks and endpoints to RingCentral requests. Supporting features such as human handoff, activity publishing and WhatsApp support.||Sample|
|Zoom Adapter||An adapter that accepts and handles Zoom app requests. Specifically developed to handle Zoom chatbot app requests and allow for the sending of messages using Zoom Message Templates. The adapter will also receieve any event subscribed to via Zoom, even those not chatbot related.||Sample|
|Infobip WhatsApp Adapter||An adapter that accepts and hanldes WhatsApp app requests via Infobip, including support for various messages and template types.|
|Infobip SMS Adapter||An adapter that accepts and hanldes SMS requests via Infobip, including support for various messages.|
|Infobip Viber Adapter||An adapter that accepts and hanldes Viber requests via Infobip, including support for various messages.|
|MessageBird WhatsApp Adapter||An adapter that accepts and handles WhatsApp app requests via MessageBird, including support for various message types.||Sample|
Dialogs and Prompts
The following dialogs are currently available;
|Bot Builder v4 Location Dialog||An implemention for v4 of the Bot Build .NET SDK of the Microsoft.Bot.Builder.Location dialog project built for Bot Builder v3. An open-source location picker control for Microsoft Bot Framework powered by Azure or Bing Maps REST services. This control will allow a user to search for a location, with the ability to specify required fields and also store locations as favorites for the user.||Sample|
|Bot Builder ChoiceFlow||This dialog allows you to provide the user with a series of guides choice prompts in turn (defined in a JSON file or as a collection of ChoiceFlowItem objects), similar to when calling a telephone line with a series of automated options. The dialog returns the user's last choice as a result from the dialog and optionally provide the user with a simple text response depending on which choice they land on.||Sample|
|Bot Builder v4 FormFlow||An implemention for v4 of the Bot Build .NET SDK of the Microsoft.Bot.Builder.FormFlow dialog project built for Bot Builder v3. FormFlow automatically generates the dialogs that are necessary to manage a guided conversation, based upon guidelines you specify.||Sample|
|Bot Builder v4 Prompts||A collection of Prompts for use with Bot Builder v4, providing the ability to prompt using Adaptive Cards and for recognizing currencies, age, distances and temperature.|
|Bot Builder v4 Luis Dialog||An implementation for v4 of the Bot Builder .NET SDK of the Microsoft.Bot.Builder.Dialogs.LuisDialog built for Bot Builder V3 A dialog specialized to handle intents and entities from LUIS.||Sample|
|Adaptive Dialogs - REST||Adaptive package containing additional actions to make calling REST endpoints easier when using Adaptive dialogs|
Packages that assist in building bots using Adaptive Cards and Bot Framework Cards;
|Cards Library||The cards library currently has two main features - Both Adaptive Cards and Bot Framework cards can be disabled and Adaptive Cards can be translated|
|Adaptive Card Prompt||This prompt is available as part of the Bot.Builder.Community.Prompts package. It includes validation for specified required input fields, displays a custom message if user replies via text and not card input and ensures input is only valid if it comes from the appropriate card (not one shown previous to prompt).|
The following pieces of middleware are currently available;
|Handle Activity Type Middleware||Middleware component which allows you to respond to different types of incoming activities, e.g. send a greeting, or even filter out activities you do not care about altogether.|
|BestMatch Middleware||A middleware implementation of the popular open source BestMatchDialog for v3 of the SDK. This piece of middleware will allow you to match a message received from a bot user against a list of strings and then carry out an appropriate action. Matching does not have to be exact and you can set the threshold as to how closely the message should match with an item in the list.||Sample|
|Azure Active Directory Authentication Middleware||This middleware will allow your bot to authenticate with Azure AD. It was created to support integration with Microsoft Graph but it will work with any application that uses the OAuth 2.0 authorization code flow.|
|Sentiment Analysis Middleware||This middleware uses Cognitive Services Sentiment Analysis to identify the sentiment of each inbound message and make it available for your bot or other middleware component.||Sample|
|Spell Check Middleware||This middleware uses Cognitive Services Check to automatically correct inbound message text|
The following recognizers are currently available;
|Fuzzy Matching Recognizer||A recognizer that allows you to use fuzzy matching to compare strings. Useful in situations such as when a user make a spelling mistake etc. When the recognizer is used a list of matches, along with confidence scores, are returned.|
The following Storage implementations are currently available;
|Elasticsearch storage||Elasticsearch based storage for bots created using Microsoft Bot Builder SDK.|
|EntityFramework storage||EntityFramework based storage and transcript store for bots created using Microsoft Bot Builder SDK.|
Contributing and Reporting Issues
We welcome and encourage contributions to this project, in the form of bug fixes, enhancements or new extensions. Please fork the repo and raise a PR if you have something you would like us to review for inclusion. If you want to discuss an idea first then the best way to do this right now is to raise a GitHub issue or reach out to one of us on Twitter.