What exactly is 'Microsoft.Bot.Builder.Internals.Fibers' used for? - botframework

Amazingly, I can't find any documentation for this, and Google tells me nothing. Yet tantalizingly, it is used in the many sample projects supplied by Microsoft to showcase Bot Framework. What is a 'fiber' and what should I use it for in a bot context?

Related

How to create Bot to Bot Dialogs (Nodejs/Typescript)

I am having a bit of trouble establishing a bot to bot dialog conversation that allows for activities in MS teams such as update/delete activity etc. I have been trying to compare the botframework-solutions typescript VA/Skill samples, with botbuilder-samples (https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/javascript_nodejs/80.skills-simple-bot-to-bot).
Generally I know the Typescript sdks tend to be a little bit behind the C#. However the design pattern being used for typescript in the Virtual Assistant example is completely different and uses the botbuilder-solutions library, specifically having both control differences for the parent and the skill bots needing to be done.. Since the skill client and necessary classes already exist in botbuilder, and there exist examples that require only minor changes to the skill bot, what is the "source of truth" for best recommended practices to accomplish bot to bot dialog.
Unfortunately, a Typescript variant of this does not exist yet. However, there is a Javascript sample, 80.skills-simple-bot-to-bot, that may work for you.
It is a basic demonstration showing how to send a message from a "root" bot to a "skill" bot that echoes back the original message. With some elbow grease you may be able to refactor to Typescript and build out the functionality you need.
Hope of help!

Mentions in Microsoft bot framework v4

Is there a way to mention someone in Microsoft Bot Framework v4? There is a possibility to check if there was somebody mentioned in the answer from the user, but I'm looking for a solution where the bot can mention someone.
All channels handle mentions differently. As #Mick mentioned; the scenario you are wanting (#mentioning someone outside the chat/discussion) isn't possible currently.
I'm not 100% aware on your exact needs, but depending on that, perhaps you could come up with something using a custom dialog and Graph API.

adaptivecards nodejs examples for botbuilder

I have a bot built using nodejs v3 sdk and I am trying to adaptivecards to make UI experience richer. Is there a goto place I can start with ? Some example will be good to for starters. [https://adaptivecards.io/][1]
The Samples section on the Adaptive Cards Website is a good place to start to see the art of the possible with cards. If your using JavaScript for your Bot like I did the Microsoft Documentation for adding Rich Card attachments to the Botframework is useful and this Article has some good examples of showing ways to insert data into fields of Adaptive Cards, which we find useful with loading in answers from QnA Maker.
Hope this helps!

Create google assistant app with bot framework

Does it make sense to use bot framework for an app on google assistant? is there some documentation around it if it makes sense?
Thanks a lot
We haved discussed the matter in depth here:
https://github.com/Microsoft/BotBuilder/issues/4255
In short, there are no plans for integrating Google Assistant with bot framework as a channel right now but there are third parties solutions on top of Direct Line that allows you to use Bot Framework with actions in Google Assistant.
You can use this open source bot adapter (bot framework V4):
https://github.com/BotBuilderCommunity/botbuilder-community-dotnet/tree/develop/libraries/Bot.Builder.Community.Adapters.Google
We are using it in combination with the Virtual Assistant template (not the previous bot enterprise template for V4). It works, but we did not include it as a Nuget package, we hauled in the project and made some changes as it was flawed here and there (at the time of writing). Converting Google messages into Bot Framework messages (and the other way around) can be quite tricky.

Microsoft Bot framework with Wit.Ai for other language than English

Is it possible to use wit.ai with Microsoft Bot framework, as it supports more languages than LUIS for NLP?if so any sample demo or document available?
Not sure if you are still looking for this but will be helpful to anyone coming here.
There is a very nice npm module
https://github.com/sebsylvester/botbuilder-wit that supports using wit.ai with Microsoft Bot Framework.
To my knowledge, there is no Wit.ai support on the Bot Framework (for now).
Nervertheless, Microsoft plans to do it (https://github.com/Microsoft/BotBuilder/issues/144).
Since the Bot Framework is an open source project, you can do it by yourself but it's quite time consuming.
I am at the early stages, but you can have a look at this.
https://github.com/q3blend/BotBuilder-Wit.ai
I hope it can help you

Resources