botframework | Framework for creating messenger bots | Bot library
kandi X-RAY | botframework Summary
kandi X-RAY | botframework Summary
Framework for creating messenger bots
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of botframework
botframework Key Features
botframework Examples and Code Snippets
Community Discussions
Trending Discussions on botframework
QUESTION
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:22Some restrictions to create app id and password in your student azure account, try to check without app id and password
hope it will work.
QUESTION
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:12In 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.
QUESTION
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:41From 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:
QUESTION
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:17there are two approaches :
- 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 - 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
QUESTION
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:10The 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
QUESTION
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:11the 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.
QUESTION
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:17Geolocation 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.
QUESTION
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:18When 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:
- https://adaptivecards.io/
- https://blog.botframework.com/2019/07/02/using-adaptive-cards-with-the-microsoft-bot-framework/
Regarding the RASA part of your question, have a look at this: Does RASA Integration with MS Teams support Adaptive Cards?
QUESTION
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:46ChannelData
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
.
QUESTION
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:04supposing 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):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install botframework
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page