botframework | Framework for creating messenger bots | Bot library

 by   amitevski TypeScript Version: 0.18.0 License: MIT

kandi X-RAY | botframework Summary

kandi X-RAY | botframework Summary

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

Framework for creating messenger bots
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              botframework has a low active ecosystem.
              It has 4 star(s) with 3 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              botframework has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of botframework is 0.18.0

            kandi-Quality Quality

              botframework has no bugs reported.

            kandi-Security Security

              botframework has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              botframework 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

              botframework releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            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 botframework
            Get all kandi verified functions for this library.

            botframework Key Features

            No Key Features are available at this moment for botframework.

            botframework Examples and Code Snippets

            No Code Snippets are available at this moment for botframework.

            Community Discussions

            QUESTION

            Azure Deployment Issue in Python Language using Microsoft Bot Framework
            Asked 2021-Jun-12 at 19:22

            I am trying to deploy a bot to Azure built on Microsoft Bot Framework in Python. The Bot is working locally on Bot Emulator. Using Visual Studio Code for the bot development.

            Deployed the Bot to Azure on a WebApp successfully using the startup command as :

            ...

            ANSWER

            Answered 2021-Jun-12 at 19:22

            Some restrictions to create app id and password in your student azure account, try to check without app id and password

            hope it will work.

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

            QUESTION

            Will Azure CDN be helpful on increasing performance of Microsoft bot framework work with Twilio Adapter
            Asked 2021-Jun-03 at 03:12

            I have a bot developed using Microsoft-bot-framework, And for Whatsapp i am using Twilio-Adapter. so for performace tuning if i create a CDN for my BotService-WebApp, will that be useful,

            CDN works by creating a cache in different POP's and store static & content files there so when the enduser tries to access website from different location, content will be cached in the nearest region & send response to the end user. But in case of Bot, end user send message in Whatsapp & using twilio webhook botframework will be invoked. so end user is not directly accessing out Bot, its connected through Twilio. Adding CDN to my BotService will work or not?

            ...

            ANSWER

            Answered 2021-Jun-03 at 03:12

            In my opinion, CDN will work in your case. Because all the service are from service provider anyway, so create CDN for bot service will be benefit to those contact with service provider. And you need to know that CDN also help user request to choose a better point(not only the nearest, but also a free, well point) to connect to service, e.g one endpoint burst into error or busy. Azure CDN will provide a new url to replace the former one, this is where it will work.

            I think any assumption is smaller than the experiment result, you can try to use CDN first to test if it worked. Azure CDN is payed for usage the more you payed indicates the more useful it is.

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

            QUESTION

            how to enable bingSpellCheck in microsoft composer luis calls?
            Asked 2021-May-27 at 13:41

            I see in the LUIS documentation, the Bing spell check capability is no longer available in the V3 LUIS API. here

            But then how it is works now in composer, I mean how can I use spell check capability in bot framework composer now ?

            ...

            ANSWER

            Answered 2021-May-27 at 13:41

            From your link : https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-tutorial-bing-spellcheck

            The first line says "The V3 prediction API now supports the Bing Spellcheck API." So it does support it.

            In Composer you can use a direct call to the API with a Send HTTP action. see the following:

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

            QUESTION

            Send Message to Users In Group
            Asked 2021-May-25 at 07:17

            I have a group on azure, I have been able to get the members of the group using MS Graph API.

            I have the details of the users in this format:

            ...

            ANSWER

            Answered 2021-May-25 at 07:17

            there are two approaches :

            1. Using pro-active messages via the bot's Teams Channel.
              https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet
            2. if you do not need/want a bot that there are options to 'just' start a new 1:1 or group-chat with a Graph call.
              https://docs.microsoft.com/en-us/graph/api/chat-post?view=graph-rest-beta&tabs=http

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

            QUESTION

            MSTEAMS BOT - post message to personalChat using rest api - Authorization has been denied for this request
            Asked 2021-May-24 at 10:10

            My objective is to post a message on personalChat in msteamsbot using restapi endpoint.

            auth token is generated using below logic (reference doc)

            ...

            ANSWER

            Answered 2021-May-24 at 10:10

            The endpoint i used to postMessage on personal chat is incorrect and it was present in the docs as well.

            Below is the correct endpoint. This endpoint can be seen by logging the http payload request body of /api/messages api

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

            QUESTION

            Thumb up/down satisfaction emoji UI on bot framework composer with adaptative card
            Asked 2021-May-23 at 14:40

            Going through the issues page of bot framework composer, I stumbled on this issue which shows an interesting UI card for getting the user's satisfactory :

            Does this looks like an adaptive card ? How can we reproduce that ?

            ...

            ANSWER

            Answered 2021-Feb-17 at 18:11

            the easiest thing to do is go to the designer on Adaptivecards.io. They have a super simple Adaptive Cards Designer experience that is drag and drop.

            on other tabs they have example templates which you can launch in the designer to see how they work and play with them.

            In your example above, the card is simply a text field with two image links and the images are clickable. You can use the containers and/or columns components in the designer to layout the items.

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

            QUESTION

            How to capture user_country/city in botframework web channel?
            Asked 2021-May-22 at 00:17

            I would like to capture end-user location (country/city) in Application insights form azure botframework chatbot running on web chat channel. App insights instrumentation is already in place page view and custom events being collected, but it seems that the client_City and client_CountryOrRegion are not populated correctly. Is there a specific channel or webservice configuration?

            ...

            ANSWER

            Answered 2021-May-22 at 00:17

            Geolocation data can be accessed using the below method. This will provide you with the longitude and latitude providing the user grants access to this data.

            You will then need another process or library to convert the location data to a physical location in the real world.

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

            QUESTION

            change front-end of a MS Teams Bot application
            Asked 2021-May-14 at 21:18

            I used rasa to build a bot and connected it to the MS botframework. This gave me a decent embedded bot in MS Teams. However, I want to rewrite part of the default front-end provided by botframework. For example, I want to change the style of buttons, design my own cards, etc. Fluent-UI can be used to design Teams-style elements, but I don't know how to integrate these changes with botframework. Is this feasible? Thank you so much!

            Edit: For instance, the default text and Rasa buttons are shown in Teams as the following:

            But I want to achieve a nicer interface, like self-designed cards, different button styles, etc:

            ...

            ANSWER

            Answered 2021-May-14 at 21:18

            When it comes to styling options, that's controlled by Teams and is largely outside your control. However, when it comes to layout, you have a great deal of control because Teams supports Adaptive Cards. Read more about Adaptive Cards here:

            Regarding the RASA part of your question, have a look at this: Does RASA Integration with MS Teams support Adaptive Cards?

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

            QUESTION

            What is the purpose of CardAction.ChannelData?
            Asked 2021-May-14 at 18:42

            I'm using the .NET BotFramework v4 with Azure Bot Service and am rendering a HeroCard with a set of buttons in a message like so:

            ...

            ANSWER

            Answered 2021-May-14 at 07:46

            ChannelData is the way to send channel-specific info from the bot to the channel, and ultimately to the provider (say Slack), that's not included in the Bot Framework schema.

            However, the way that info is converted to what the channel requires is specific to the adapter implementation.

            There is a SlackAdapter in Bot Framework SDK that has a the SendActivitiesAsync() method, (as any other adapter) that currently uses the SlackHelper.ActivityToSlack method to create whatever Slack requires.

            You could create your own HaackedSlackAdapter inheriting from SlackAdapter and override SendActivitiesAsync() to send exactly what you need.

            Then you'd only have to send from the bot, in the ChannelData whatever you need to send to Slack, so your new adapter can "translate" it to Slack lingo.

            So, to answer the other part of your answer, you'd have to create a complete new message to send to Slack or maybe just tweak the result from the SlackHelper.

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

            QUESTION

            How to change locale for a conversation in runtme
            Asked 2021-May-12 at 17:04

            I'm using botframework composer with multi language and want each user to be able to select preferred language/locale. After resolving the local code for his selection with a choice dialog, how can I set it in conversation so that his locale setting in his device will be overruled for rest of conversation?

            Changing locale in emulator works fine, want same behaviour after user selection.

            Setting turn.locale works for one turn, but is reset on next turn.

            ...

            ANSWER

            Answered 2021-May-12 at 17:04

            supposing you don't have control over the client, which would be the best.

            You can resort to an old overload on the ever-growing hierarchy of bot adapters that hasn't been marked as deprecated.

            You'd have to use the PostAsync method (api/post-messages endpoint) in the following controller (showing the one created by the current set of bot framework templates just for comparison):

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install botframework

            follow https://developers.facebook.com/docs/messenger-platform/quickstart to set up your bot. Note the access_token. We will need it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

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

            Find more libraries
            Install
          • npm

            npm i botframework

          • CLONE
          • HTTPS

            https://github.com/amitevski/botframework.git

          • CLI

            gh repo clone amitevski/botframework

          • sshUrl

            git@github.com:amitevski/botframework.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link