Welcome to the Bot Framework SDK for JavaScript repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using JavaScript.
Перейти к файлу
CeciliaAvila 011d63cc19 Remove unnecessary eslint.config.cjs file 2024-11-06 14:43:36 -03:00
.config Added tsaoptions.json (#4355) 2022-11-03 10:40:29 -05:00
.github bump: [#4550] Add Node 18 and 20 support (#4726) 2024-08-26 09:45:04 -05:00
build bump: [#4550] Add Node 18 and 20 support (#4726) 2024-08-26 09:45:04 -05:00
doc/botbuilder-ai feat: Add support for Teams Adaptive cards in QnA Dialog (#4467) 2023-05-30 11:51:46 -05:00
docs fix: port skill claims how-to doc (#3155) 2020-12-21 09:58:10 -08:00
generators/generator-botbuilder Caret ranges for generator SDK version (any v4) (#4787) 2024-11-05 09:32:30 -06:00
libraries Remove unnecessary eslint.config.cjs file 2024-11-06 14:43:36 -03:00
overrides/lodash.pick Fix browser-functional project and pipeline, lodash.pick, sanitize-html, and jsonwebtoken (#4706) 2024-07-08 14:36:03 -05:00
recognizers-text/Utterance Changes/DateTime Replace southworks fork with microsoft 2019-09-04 11:47:54 -03:00
testing bump: [#4684] Upgrade Nighwatch (#4768) 2024-10-30 08:48:20 -05:00
tools Upgrade sinon package to latest version (#4762) 2024-10-03 08:43:29 -05:00
tsup refactor: [#4684] Replace browserify with tsup (#4774) 2024-10-29 12:34:11 -05:00
.depcheckrc bump: [#4684] Upgrade filenamify using import-sync for esm-only package (#4782) 2024-11-01 07:28:36 -05:00
.editorconfig Updated to minimal standard eslint config (#2814) 2020-09-30 17:12:28 -07:00
.gitattributes Add @microsoft/api-extractor to detect public API changes (#1962) 2020-04-20 16:52:04 -07:00
.gitignore ci: gh actions cleanup and coveralls (#3064) 2020-11-16 14:34:36 -08:00
.gitpod.Dockerfile Get docker image from MCR (#4265) 2022-06-16 10:00:27 -07:00
.gitpod.yml Add gitpod config (#1786) 2020-02-26 18:05:37 -08:00
.prettierrc Updated to minimal standard eslint config (#2814) 2020-09-30 17:12:28 -07:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2021-04-14 11:49:07 -07:00
Contributing.md Add community docs as per guidance (#2352) 2020-06-15 13:30:02 -07:00
LICENSE Initial commit 2018-01-10 15:01:25 -08:00
README.md fix: [#2782] Migrate to MSAL from adal-node - Add MSAL support (#4543) 2023-10-10 09:02:03 -05:00
SECURITY.md Microsoft mandatory file (#4302) 2022-08-02 08:37:01 -05:00
api-extractor.json chore: add test:compat to CI tests (#3691) 2021-05-19 15:21:39 -07:00
codeql3000.yml Corrected TSAEnabled key casing (#4356) 2022-11-04 09:14:17 -05:00
dailyBuilds.md update CODEOWNERS, rename UsingMyGet.md to dailyBuilds.md (#2799) 2020-09-25 20:04:29 -07:00
eslint.config.cjs bump: Update ESLint packages and migrate to eslint.config.cjs files (#4776) 2024-10-29 09:04:25 -05:00
package.json bump: [#4684] Upgrade Nighwatch (#4768) 2024-10-30 08:48:20 -05:00
prep-test.cmd Chrimc sentiment (#340) 2018-08-16 21:58:25 -07:00
tsconfig.json bump: [#4550] Add Node 18 and 20 support (#4726) 2024-08-26 09:45:04 -05:00
yarn.lock bump: [#4684] Upgrade filenamify using import-sync for esm-only package (#4782) 2024-11-01 07:28:36 -05:00

README.md

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

Branch Description Test Status Coverage Status Windows Bot Test Status Linux Bot Test Status Browser Functional Tests
main 4.15.x Tests Test Status Coverage Status Build Status Build Status Build Status

Packages

Name NPM Package
adaptive-expressions BotBuilder Badge
adaptive-expressions-ie11 BotBuilder Badge
botbuilder BotBuilder Badge
botbuilder-ai BotBuilder Badge
botbuilder-ai-orchestrator BotBuilder Badge
botbuilder-ai-luis BotBuilder Badge
botbuilder-ai-qna BotBuilder Badge
botbuilder-applicationinsights BotBuilder Badge
botbuilder-azure BotBuilder Badge
botbuilder-azure-blobs BotBuilder Badge
botbuilder-azure-queues BotBuilder Badge
botbuilder-core BotBuilder Badge
botbuilder-dialogs BotBuilder Badge
botbuilder-dialogs-adaptive BotBuilder Badge
botbuilder-dialogs-adaptive-runtime BotBuilder Badge
botbuilder-dialogs-adaptive-runtime-core BotBuilder Badge
botbuilder-dialogs-adaptive-runtime-integration-express BotBuilder Badge
botbuilder-dialogs-adaptive-runtime-integration-azure-functions BotBuilder Badge
botbuilder-dialogs-adaptive-runtime-integration-restify BotBuilder Badge
botbuilder-dialogs-adaptive-testing BotBuilder Badge
botbuilder-dialogs-declarative BotBuilder Badge
botbuilder-lg BotBuilder Badge
botbuilder-stdlib BotBuilder Badge
botbuilder-testing BotBuilder Badge
botframework-config BotBuilder Badge
botframework-connector BotBuilder Badge
botframework-schema BotBuilder Badge
botframework-streaming BotBuilder 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.