microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
868 stars 372 forks source link

Cannot open bot created with Language Studio #9646

Closed Lory1990 closed 1 year ago

Lory1990 commented 1 year ago

Describe the bug

I created a Langiage model using AzureAI language service, created a bot and cannot open and edit it

Version

Latest - 2.

OS

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Can open the project and add actions / triggers /...

stevkan commented 1 year ago

@Lory1990 - Bots created via the Language Studio are code-first (aka SDK) bots and are not readable by the BotFramework Composer application. Composer creates and runs bots that utilize an adaptive dialog runtime that, while dependent on the BotFramework SDK, it does not openly reference it.

If you want to create a CQA bot using Composer then you will need to, first, create a Composer bot. Once done, click on the Package Manager option on the left sidebar, search for 'Microsoft.Bot.Components.Recognizers.CustomQuestionAnsweringRecognizer' and install it. Then open the 'View documentation' link in the package description and follow the instructions for implementing.

As you have already created a Language Studio resource, you can reference the resource rather than create a new one when provisioning. Additionally, you can reference the Composer docs for more insight into creating bots using Composer.

As this should resolve your issue, I am closing this. If you continue to receive error messages, please feel free to reopen this issue. However, 'how-to' type questions should be posted to the Stack Overflow community.