Home

Awesome

Bot Framework SDK v4 for JavaScript

This repository contains code for the JavaScript version of the Microsoft Bot Framework SDK, which is part of the Microsoft Bot Framework - a comprehensive framework for building enterprise-grade conversational AI experiences.

This SDK enables developers to model conversation and build sophisticated bot applications using JavaScript. SDKs for .NET, Python and Java (preview) are also available.

To get started building bots using the SDK, see the Azure Bot Service Documentation. If you are an existing user, then you can also find out what's new with Bot Framework.

For more information jump to a section below.

Build Status

BranchDescriptionTest StatusCoverage StatusWindows Bot Test StatusLinux Bot Test StatusBrowser Functional Tests
main4.15.x TestsTest StatusCoverage StatusBuild StatusBuild StatusBuild Status

Packages

NameNPM Package
adaptive-expressionsBotBuilder Badge
adaptive-expressions-ie11BotBuilder Badge
botbuilderBotBuilder Badge
botbuilder-aiBotBuilder Badge
botbuilder-ai-orchestratorBotBuilder Badge
botbuilder-ai-luisBotBuilder Badge
botbuilder-ai-qnaBotBuilder Badge
botbuilder-applicationinsightsBotBuilder Badge
botbuilder-azureBotBuilder Badge
botbuilder-azure-blobsBotBuilder Badge
botbuilder-azure-queuesBotBuilder Badge
botbuilder-coreBotBuilder Badge
botbuilder-dialogsBotBuilder Badge
botbuilder-dialogs-adaptiveBotBuilder Badge
botbuilder-dialogs-adaptive-runtimeBotBuilder Badge
botbuilder-dialogs-adaptive-runtime-coreBotBuilder Badge
botbuilder-dialogs-adaptive-runtime-integration-expressBotBuilder Badge
botbuilder-dialogs-adaptive-runtime-integration-azure-functionsBotBuilder Badge
botbuilder-dialogs-adaptive-runtime-integration-restifyBotBuilder Badge
botbuilder-dialogs-adaptive-testingBotBuilder Badge
botbuilder-dialogs-declarativeBotBuilder Badge
botbuilder-lgBotBuilder Badge
botbuilder-stdlibBotBuilder Badge
botbuilder-testingBotBuilder Badge
botframework-configBotBuilder Badge
botframework-connectorBotBuilder Badge
botframework-schemaBotBuilder Badge
botframework-streamingBotBuilder Badge

To view package interdependencies, see the dependency graph.

Getting Started

To get started building bots using the SDK, see the Azure Bot Service Documentation.

The Bot Framework Samples includes a rich set of samples repository.

If you want to debug an issue, would like to contribute, or understand how the Bot Builder SDK works, instructions for building and testing the SDK are below.

Prerequisites

Clone

Clone a copy of the repo:

git clone https://github.com/microsoft/botbuilder-js.git

Change to the SDK's directory:

cd botbuilder-js

Build and test locally

Install the prerequisites.

yarn

Then use the following command to build the SDK.

yarn build

Running unit tests

Use the following command to run the unit tests.

yarn test

The prep-test.cmd command is run to install test keys and start the Azure Storage Emulator if its installed. Any unit tests needing test keys or the storage emulator are designed to be skipped if their dependencies are missing so most developers won't need to worry about running this command.

If you have a need to re-generate the LUIS or connector clients using the latest swagger you'll need to install autorest (requires Node 7.10.0 or higher), which you can do with the following command.

yarn global add global autorest

Getting support and providing feedback

Below are the various channels that are available to you for obtaining support and providing feedback. Please pay carful attention to which channel should be used for which type of content. e.g. general "how do I..." questions should be asked on Stack Overflow, Twitter or Gitter, with GitHub issues being for feature requests and bug reports.

Github issues

Github issues should be used for bugs and feature requests.

Stack overflow

Stack Overflow is a great place for getting high-quality answers. Our support team, as well as many of our community members are already on Stack Overflow providing answers to 'how-to' questions.

Azure Support

If you issues relates to Azure Bot Service, you can take advantage of the available Azure support options.

Twitter

We use the @msbotframework account on twitter for announcements and members from the development team watch for tweets for @msbotframework.

Gitter Chat Room

The Gitter Channel provides a place where the Community can get together and collaborate.

Contributing and our code of conduct

We welcome contributions and suggestions. Please see our contributing guidelines for more information.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

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.

Licensed under the MIT License.