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.
Перейти к файлу
Joel Mut b110344e62
bump: Update tools/nyc dependency (#4475)
* Update nyc dependency

* Fix tools nyc coverage reference
2023-05-08 09:28:39 -05:00
.config Added tsaoptions.json (#4355) 2022-11-03 10:40:29 -05:00
.github fix: [#3756] Ensure SDK packages and their dependencies support next Node.js LTS (16.x) (#4046) 2022-03-21 16:14:33 -07:00
build chore: Upgrade node to v 16 in JS pipelines (#4372) 2022-11-21 17:44:15 -06:00
docs fix: port skill claims how-to doc (#3155) 2020-12-21 09:58:10 -08:00
generators/generator-botbuilder Update yeoman-generator from 4.13.0 to 5.6.1 (#4298) 2022-08-02 07:57:14 -05:00
libraries port: [#4463][#6596] TeamsChannelData need OnBehalfOf (#4474) 2023-05-08 09:28:07 -05:00
recognizers-text/Utterance Changes/DateTime
testing chore(deps): bump ua-parser-js (#4422) 2023-05-05 08:37:10 -05:00
tools bump: Update tools/nyc dependency (#4475) 2023-05-08 09:28:39 -05:00
.depcheckrc fix: [#4204] Fix remaining eslint warnings - botbuilder-dialogs (1/2) (#4231) 2022-07-13 13:08:45 -05:00
.editorconfig Updated to minimal standard eslint config (#2814) 2020-09-30 17:12:28 -07:00
.eslintrc.json fix: [#4204] Fix remaining eslint warnings - enable ESLint config (#4241) 2022-07-19 09:19:38 -05:00
.gitattributes
.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
.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
LICENSE
README.md Update README.md (#4397) 2023-01-04 12:08:30 -06: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
package.json Add jsonwebtoken 9.0.0 to package.json resolutions (#4409) 2023-01-31 09:07:09 -06:00
prep-test.cmd
tsconfig.json deps: upgrade to typescript 4.x (#2990) 2020-11-10 16:48:32 -08:00
yarn.lock bump: Update tools/nyc dependency (#4475) 2023-05-08 09:28:39 -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.