Bot Builder v3 SDK to v4 SDK Migration Guidance - botframework

I'm searching for guidance on Bot Builder v3 SDK to v4 SDK migration.
Any conversion guide you can advise?
According to the product github a migration from V3 to V4 (documentation and samples) guide may be available by Feb.
Shall I wait for that?
Has anyone hear about any tool that will be doing the migration automatically?
Thx

Yes, there is a migration path planned where you'll be able to recompile with some level of source compatibility and that will then run on top of the V4 runtime... a bridge if you will. Ultimately to take full advantage of V4 features you need to really start fresh. I'm not aware of any tooling in the works that would help migrate from V3 style dialog code to V4, only the binary bridge and documentation.

Related

Will BotFramework-CLI support Azure's new Question Answering service?

Now that Azure's Question Answering service is available and we are recommended to migrate from QnA Maker, I noticed that botframework-cli does not seem to have been updated and I did not see any issues or information related to it being updated to support authoring Knowledge Bases for the new Question Answering service. Our CI/CD pipelines use these CLI tools to create/update/delete Knowledge Bases.
It seems the only way to automate this is via the Authoring REST API, is that true? If so, is there any rough ETA on when that might be updated or some other CLI tool will be made available?
THe next SDK release of Bot Framework supports this new feature. https://github.com/microsoft/botframework-sdk/issues/6413
Not sure if the cli tools are in scope. If not, I suggest you enter a feature request in that repository
There is a clear documentation on migration procedure of QnA maker to azure question answering. Please do check the below mentioned link and follow the steps.
https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/question-answering/how-to/migrate-qnamaker
The services are updated in May 2021 itself.
No, there is no support to manage project creation (a.k.a. knowledgebases) within Question Answer from BotFramework-cli. They do however offer a REST API, and SDK support with C# and Python.
There is a GitHub issue to support this, but from Apr. 19, 2022 to Sept. 19, 2022 there has been no response nor update.

Migrating from bot framework V4 preview to V4 stable(4.0.8)

I have developed bot application using Microsoft bot framework V4 preview(4.0.1 Preview)
Now i want to migrate to new stable version (4.0.8)
Can anyone tell me what are the breaking changes and how to fix those..
The downvotes are probably because this is a very broad question, as the framework went through some pretty significant changes from Preview to Stable. For example, if I'm not mistaken, what you call DialogContainer is probably ComponentDialog now. No one's going to be able to say what the breaking changes are, because they broke in different places for different bots, depending on the the bot's code. If you attempt to upgrade to 4.0.8 and run into errors, you can post those errors and get better assistance in solving each one.

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

How long will D3.js v3 be supported?

I couldn't find this info anywhere. I know that D3.js v4 has a lot of v3 bugs fixed and the new modular approach is great, but I've got an existing application that has 4 (relatively complex) charts and I can't estimate how many working hours it would take to migrate from v3 to v4. Furthermore, now I'm working on a new map chart and it seems that v3 has already a good map support (then using D3.js v4 wouldn't be mandatory).
When asked about updating v3 examples to v4, Mike Bostock wrote:
Yep, I’m going to update my examples in-place. Consider it my
heavy-handed encouragement to upgrade to 4.0. (For one thing, there
are lot of 3.x bugs fixed in 4.0, and I have limited resources to
provide free support to old versions.)
However, the last v3 release (v3.5.17) on GitHub is recent, 4 May 2016. Therefore I still don't know exactly how long the v3 support will last.
Does anyone have this answer? Or, Mike, do you even have any idea of it?
D3.js v3 is no more supported. Mike answered me on Twitter:
I am not fixing bugs or developing new features in v3; my development efforts are solely focused on v4+.
From Mike Bostock on Twitter:
I am not fixing bugs or developing new features in v3; my development
efforts are solely focused on v4+.

Resources