botbuilder-js | Bot Framework SDK for JavaScript repository | Bot library

 by   microsoft TypeScript Version: 4.20.0 License: MIT

kandi X-RAY | botbuilder-js Summary

kandi X-RAY | botbuilder-js Summary

botbuilder-js is a TypeScript library typically used in Automation, Bot, Nodejs applications. botbuilder-js has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

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.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              botbuilder-js has a low active ecosystem.
              It has 589 star(s) with 275 fork(s). There are 73 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 30 open issues and 2160 have been closed. On average issues are closed in 27 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of botbuilder-js is 4.20.0

            kandi-Quality Quality

              botbuilder-js has 0 bugs and 0 code smells.

            kandi-Security Security

              botbuilder-js has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              botbuilder-js code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              botbuilder-js is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              botbuilder-js releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 584 lines of code, 0 functions and 1376 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of botbuilder-js
            Get all kandi verified functions for this library.

            botbuilder-js Key Features

            No Key Features are available at this moment for botbuilder-js.

            botbuilder-js Examples and Code Snippets

            No Code Snippets are available at this moment for botbuilder-js.

            Community Discussions

            QUESTION

            Detect theme setting in Bot Framework, ie Dark, High Contrast, Default
            Asked 2021-Feb-26 at 09:07

            When building a Teams extension with the Microsofts Bot Framework SDK, does anyone know how to detect a user's theme setting to produce visually appealing adaptive card layouts?

            I am finding that some images will look good when in light mode / default, but look bad in dark mode.

            To resolve this, I'd like to set images in the adaptive cards conditionally. However, to do that I'd need the current theme info.

            I've searched context and activity and cannot find a way.

            I'm hoping to do something like this in the adaptive card (note the if statement)

            ...

            ANSWER

            Answered 2021-Feb-26 at 06:38

            I don't think there's anything in the payload that shows the theme, but actually I'd recommend -against- doing this anyway. In a tab, this work's because you get an initial theme (on the context object) as well as the ability to subscribe to a theme change event. That means you're always able to respond to the relevant current theme. With bots, it's different because once you've sent a message, it basically stays permanently in the chat history. If the user changes their theme later on, that same message will be there, and might not fit that theme any more. (technically it's possible to update or delete a previous message, but that's not really practical for -all- messages ever sent, and you wouldn't not if the theme changes anyway as there's no event sent to the bot for this). As a result, you'd need to send messages that work in both themes.

            Perhaps using light transparency could work, depending on the image.

            Source https://stackoverflow.com/questions/66378317

            QUESTION

            Botframework/Botbuilder-js - Send HTTP request
            Asked 2020-Oct-06 at 14:13

            I created a JavaScript Bot using BotFramework and Botbuilder-js.

            For this bot I use an adaptive dialog. At some point in the dialog I need to send an HTTP-request.

            For now, my HTTP-request Step looks like this:

            ...

            ANSWER

            Answered 2020-Oct-06 at 14:13

            Since the HttpRequest-Step didn't work, I changed to a CodeAction.
            Inside this CodeAction I then do my Http-Requests and work on the results (transforming them or saving them in a dialog variable).

            A Code Snippet could look like the following:

            Source https://stackoverflow.com/questions/64116766

            QUESTION

            ApplicationInsightsTelemetryClient not logging bot identifiers
            Asked 2020-Aug-27 at 02:26

            I'm using the JavaScript version of the botframework. I've followed the documentation to enable telemetry logging in Application Insights. When I access the logs I can see that custom events are being logged.

            The issue is that the bot specific identifiers, such as user_Id, session_Id and conversation_Id are not being logged. This can be seen in the screen capture below

            In the applicationInsightsTelemetryClient.js file there is a function called addBotIdentifiers. As far as I can tell, it is this function that is responsible for adding the bot specific identifiers.

            The first lines of the function look like this:

            ...

            ANSWER

            Answered 2020-Aug-25 at 09:19

            Looks like the documentation has a missing line in step 7. We will correct the document ASAP. Meanwhile, please add the below in your index.js following https://github.com/microsoft/BotBuilder-Samples/blob/main/samples/javascript_nodejs/21.corebot-app-insights/index.js#L113

            Source https://stackoverflow.com/questions/63571271

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install botbuilder-js

            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.
            Then use the following command to build the SDK.

            Support

            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.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link