Botframework-composer: how to configure dispatch model?

Created on 21 Jan 2020  路  8Comments  路  Source: microsoft/BotFramework-Composer

I've a built a solution using BOT v4 with Visual Studio Template. This solution uses multiple LUIS and QnA models and Dispatch model is managing the user queries.

But seems composer looks more easy to manage as the BOT.

Can somebody point me to the doc or steps to configure dispatch model in composer? So that I can revamp the solution with composer.

Needs investigation R8

Most helpful comment

@vishwacsena Can you create docs for Multiple LUIS and QnA?
I need this feature on Bot Framework Composer, but in LUIS in not clear how to do.
I saw this docs, but it's not clear how to use .cs file in the composer generated solution.
cc: @fathorMB @marcozama

All 8 comments

@vishwacsena can you comment as to the current and intended dispatch support in the Adaptive runtime?

@narulasrinivas the concept of dispatch is flipped inside out for adaptive dialogs since you get an opportunity to run the recognizer tied to the active dialog on every turn of the conversation. We continue to make several investments to the LU experience for composer where the backing LUIS applications (including QnA content when we support that) will be automatically cross-trained and the recognizers configured appropriately.

As you consider your move from the existing code based dialog to adaptive/ composer, you should consider refactoring your dialogs such that all LU and QnA content for each dialog is locally defined within that dialog.

If you really are looking for a 1:1 migration, then you could continue to use the dispatch CLI to create the parent dispatcher dialog and make it the main dialog for your bot with its dispatch produced LU in composer.

Note: you need to run dispatch followed by bf luis:convert to get the dispatch app in LU. Another alternate is to go to preview.luis.ai and export your dispatch app directly as LU file.

@vishwacsena - Thank you for providing clear direction.

@vishwacsena Can you create docs for Multiple LUIS and QnA?
I need this feature on Bot Framework Composer, but in LUIS in not clear how to do.
I saw this docs, but it's not clear how to use .cs file in the composer generated solution.
cc: @fathorMB @marcozama

@vishwacsena @cwhitten
Can I use this approach also in multi-language LUIS app?
Must I define multiple LUIS app?
Must I update manually all LUIS except default set in Composer?

@andreatosato can you help clarify what exactly you are trying to accomplish?

@vishwacsena I setup dispatch model, works very well. I spent all yestardy to setup and test this feature.

Dispatch model work for different LUIS but on same culture.

I need to attach on Bot Framework Composer different culture.
How can I setup multilanguage in Composer?
Now works only en-us?

I have Teams bot for 2 client culture:
en-US
it-IT

this is my step:

npm install -g botdispatch
dispatch init --name "Four-Bot" --luisAuthoringKey "515151" --luisAuthoringRegion "westeurope"

dispatch add -t luis -i "cd421bb7-1111-4444-bbbb-2fad2a636b4f" -n "FourDispatch-US" -k "515151" --intentName IntentName
dispatch add -t luis -i "d84e6a06-5555-4444-8888-8bbcb6e61906" -n "FourDispatch2-US" -k "515151" --intentName IntentName2
dispatch add -t qna -i 092380ad-0000-4444-8888-e1174a783935 -n TeamsApp -k 44e666666666666e8e33339e2bf4c29b

dispatch create

@cwhitten can you comment on multi-lingual support in composer?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pedro-ramirez-suarez picture pedro-ramirez-suarez  路  15Comments

hraz-msft picture hraz-msft  路  21Comments

jakeatmsft picture jakeatmsft  路  21Comments

cxbuilders picture cxbuilders  路  16Comments

saikumaru picture saikumaru  路  18Comments