cdecd85e9e | ||
---|---|---|
docs/media | ||
.gitignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
LICENSE-CODE | ||
README.md | ||
whats-new.md |
README.md
Microsoft Bot Framework
Click here to find out what's new with Bot Framework
The Microsoft Bot Framework is a comprehensive platform for building enterprise-grade conversational AI experiences. It includes a set of open source SDKs, tools, and services which enable developers to build, test, and connect bots that interact naturally with users, wherever they are. With the Microsoft Bot Framework, it is easy to create a bot with the ability to speak, listen, understand, and learn from your users with Azure Cognitive Services.
This repo lists the SDK, tools, and services needed to build a great conversational AI experience. Its role is to serve as a landing page and one place to find all the information required to get started.
- Bot Framework SDK v4
- Azure Bot Service
- Bot Framework Emulator
- Bot Framework Web Chat
- Bot Framework CLI Tools
- Bot Framework Solutions
- Language Understanding
- QnA Maker
- Dispatch
- Speech Services
- Adaptive cards
- Bot Framework SDK v3
Bot Framework SDK v4
The Bot Framework SDK v4 is an open source SDK that enable developers to model and build sophisticated conversation using their favorite programming language.
C# | JS | Python | Java | |
---|---|---|---|---|
Release | 4.6 GA | 4.6 GA | Beta 4 | Preview 3 |
Docs | docs | docs | ||
Samples | .NET Core, WebAPI | Node.js , TypeScript, es6 | Python |
Microsoft Teams support (GA)
- Bot Framework SDK v4.6 adds native support for building Teams bots so that you don't have to install Teams extensions. Teams allows users to bring bots into their channel or group chat conversations. By adding a bot to a team or chat, all users of the conversation can take advantage of the bot functionality right in the conversation. docs | C# sample | JS sample
Bot Framework Composer (Preview)
-
Bot Framework Composer :: Bot Framework Composer is an integrated development tool for developers and multi-disciplinary team of professional conversation designers for building bots and other types of conversational software with the Microsoft Bot Framework technology stack. Within this web-based tool, you'll find everything you need to build a modern, state-of-the-art conversational experience.
-
Adaptive Dialog | docs | C# samples :: Adaptive Dialogs enable developers to build conversations that can be dynamically changed as the conversation progresses.
- Adaptive dialog now includes trigger to action pairs, recognizer, and generator. This makes every adaptive dialog self-contained and easy to compose.
- Events have been cleaned up to correspond to activity level events and dialog level events.
- Regex recognizer now supports 10+ prebuilt entity types
- Triggers, actions have been refined based on feedback
- Stability improvements and bug fixes.
-
Language Generation | docs | C# samples :: Language Generation enable developers to separate logic used to generate bot's respones including ability to define multiple variations on a phrase, execute simple expressions based on context, refer to conversational memory.
- Structured template support - with this you can now use Langauge Generation for multi-modal responses including spoken response, displayed response as well as UI cards etc.
- Ability to import and refer to .lg files. This helps streamline organization of templates, its composability and re-usability.
- Stability improvements and bug fixes.
-
Common Expression Language | api :: Both Adaptive dialogs and Language Generation rely on and use a common expression language to power bot conversations.
- New prebuilt functions (jpath, eval)
- Stability improvements and bug fixes.
Bot Framework Channels
-
Direct Line Speech General Availability | docs: Bot Framework and Microsoft's Speech Services provide a channel that enables streamed speech and text bi-directionally from the client to the bot application using WebSockets.
-
A Private Direct Line: Direct Line App Serive Extension (preview) | docs: A version of Direct Line that isolates your bot from other traffic on the Bot Service by running Direct Line on its Azure App Service. This both improves latency, and allows bots to participate in Azure VNET configuraitons. A VNET lets developers create your own private space in Azure and is crucial to your cloud network as it offers isolation, segmentation, and other key benefits.
Bot Framework Web Chat
-
React was upgraded to 16.8.6 to support React Hooks and stateful function components.
-
Uploaded image attachments can now include a thumbnail. Additional UI improvements and customizability include:
- Bubble nub styling options were added.
- Timestamp format were modified to allow absolute and relative time.
- Stylable avatar background colors were added.
-
Following demos were released:
- Single Sign-On for Microosoft Teams using OAuth shows user authorization through a bot.
- Select Voice for Speech Synthesis shows how to select DNN-based voices.
-
The accessibility experience was improved for customers utilizing Assistive Technology across different browsers.
-
To see the rest of Web Chat's updates for 4.6, take a look at the changelog.
Bot Framework CLI Tools
The new BF CLI tool replaces legacy standalone tools used to manage Bot Framework bots and related services. We have ported most tools and are in process of porting the rest. BF CLI aggregates the collection of cross-platform tools into one cohesive and consistent interface.
For the 4.6 release, the following commands were ported over:
BF [New Command] | Old Tool |
---|---|
Chatdown | Chatdown |
QnAMaker | QnAMaker |
luis:convert, luis:translate | LuDown |
luis:convert | LuisGen |
In the next release we will port the following tools:
- LUIS (API)
- Dispatch
And finally, alongside the release of new features, we plan to add new commands to BF CLI such as for:
- Language Generation management
- Adaptive Dialogs management
- Microsoft Teams bots configuration
- Bot Skills configuration management
The old tools will be deprecated in subsequent releases. All new investments, bug fixes, and new features will be implemented in the new consolided BF CLI alone.
See more in https://aka.ms/bfcli.
Bot Framework Solutions
<< UPDATE SECTION >>
Botkit
<< UPDATE SECTION >>
Related Services
Language Understanding
A machine learning-based service to build natural language experiences. Quickly create enterprise-ready, custom models that continuously improve. Language Understanding Service(LUIS) allows your application to understand what a person wants in their own words.
Improved developer productivity - General availability of prediction endpoint V3. Ability to import and export .lu files paves the way for an effective CI/CD process.
Language expansion - basic support for Arabic and Hindi (public preview)
Enhanced user experience - labeling experience enables building and debugging complex models
Advanced language understanding capabilities - build sophisticated language models with less effort
- Define machine learning features at the model level and enable models to be used as signals to other model, like using entities as features to intents and to other entities.
- Extract information from text in the format of deep hierarchical structure, making conversation applications more powerful.
Check the documentation to learn more.
QnA Maker
QnA Maker is a cloud-based API service that creates a conversational, question-and-answer layer over your data. With QnA Maker, you can build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content in minutes.
Multi-turn Conversations Multi-turn feature is available to build guided conversational flows. The latest release lets you build multi-turn conversations in a complete no code way.
Chit-Chat QnA Maker now provides support to add personality to your bots in 8 more languages in addition to English. The new set of languages supported for chit-chat dataset are Chinese, French, German, Japanese, Italian, Korean, Portugese, Spanish. The language support for chit-chat is only present for professional personality.
US Government Cloud Support
Enhanced KB Management Experience - The new KB language settings option lets you explicitly set the KB language for your service. Excel file format support has been added to the import and export actions for easy editing and replacment of the content. Batch Testing allows you to batch test your KB or KBs to analyse the quality and training of your KB data.
Speech Services
Speech Services convert audio to text, perform speech translation and text-to-speech with the unified Speech services. With the speech services, you can integrate speech into your bot, create custom wake words, and author in multiple languages.
Adaptive Cards
Adaptive Cards are an open standard for developers to exchange card content in a common and consistent way, and are used by Bot Framework developers to create great cross-channel conversatational experiences.
- Open framework, native performance - A simple open card format enables an ecosystem of shared tooling, seamless integration between apps, and native cross-platform performance on any device.
- Speech enabled from day one - We live in an exciting era where users can talk to their devices. Adaptive Cards embrace this new world and were designed from the ground up to support these new experiences.
Bot Framework SDK v3
Note: While we actively maintain the v3 SDK, we are focusing out attention on the v4 of the SDK. Read more on SDK v3 long-term support.
The Bot Framework SDK v3 includes SDKs that enable developers to model and build sophisticated conversation using their favorite programing language.
C# | JS | |
---|---|---|
Stable Release | 3.20.1 | 3.16.0 |
Docs | docs | docs |
Samples | C# | Node.js |
Reporting Security Issues
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.
Copyright (c) Microsoft Corporation. All rights reserved.