cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Add PVA as skill to exiting MS bot framework bot

Earlier it was an article published on how to use dispatch tool to connect to PVA bot to exiting MS bot framework bot. But the article has been removed why? Will in be possible to have PVA bots as child bots (Skills) to an MS framework bot? As a parent child architecture.

The old link:
https://docs.microsoft.com/en-us/power-virtual-agents/how-to-use-dispatcher
9 REPLIES 9
Highlighted

Re: Add PVA as skill to exiting MS bot framework bot

@Anonymous - With the introduction of Skills, existing bot framework bots can be converted into Skills and embedded into dialogs. The supported way to call a PVA bot from within a MS framework bot is through DirectLine. See more here,

 

>> https://docs.microsoft.com/en-us/power-virtual-agents/publication-connect-bot-to-azure-bot-service-channels#manage-conversation-sessions-with-your-power-virtual-agents-bot

 

Are there other scenarios you are looking to support that require the dispatcher model?

Highlighted
Anonymous
Not applicable

Re: Add PVA as skill to exiting MS bot framework bot

@pawan-msft the scenario I´m looking for is to build an eco system of PVA bots that are connected to an main parent bot build on MS bot framework that the channels is connected to.

 

The PVA bots will be acting as "skills" to the main bot. To be able to achieve this the main bot need to be able to have the utterance and topics from all the PVA bots to dispatch to the correct PVA bot. this is where the dispatch model comes in.

 

This scenario will be good in an large organisation where individual teams can build there on PVA bots and have it connected to the main bot for an large audience. The scenario will also give the an "smarter" main bot for each PVA bot added as a "skill" for to the main bot.

 

Is this supported? 

here is an snippet from the earlier published article the scenario, that got removed.

 

"Train the dispatcher custom model with your Power Virtual Agents topics
Train and recreate the dispatcher app and add your exported topics and utterances with your existing Cognitive Service
intents (eg. LUIS and/or QnA maker) using the Dispatch tool. For more information, follow the guidance in the dispatch
tool tutorial."

Highlighted
Advocate II
Advocate II

Re: Add PVA as skill to exiting MS bot framework bot

Looks like we can Call PVA bot from regular BF v4 bot using Direct line.

https://docs.microsoft.com/en-us/power-virtual-agents/publication-connect-bot-to-azure-bot-service-c... 

Highlighted

Re: Add PVA as skill to exiting MS bot framework bot

@Anonymous - I understand your scenario. There are plans to support such scenarios using out-of-box application lifecycle management capabilities. However, until such capability is there you can leverage the dispatcher model to train the "parent" bot with intents in your PVA bot.

 

We've brought back the article that documents the steps. Let me know if you need further assistance.

 

>>https://docs.microsoft.com/en-us/power-virtual-agents/advanced-use-dispatcher

 

Thank you,

Pawan

Highlighted
Anonymous
Not applicable

Re: Add PVA as skill to exiting MS bot framework bot

Thanks for the answer @pawan-msft.
Do you know when such a capability will be in place?
Highlighted
Regular Visitor

Re: Add PVA as skill to exiting MS bot framework bot

Hi, could you please share the exact steps in converting an existing bot to a skill.

Highlighted
Helper V
Helper V

Re: Add PVA as skill to exiting MS bot framework bot

In this file, you just have to add like this:

{
"MicrosoftAppId": "<your app Id>",
"MicrosoftAppPassword": "<your app password>",
"AllowedCallers": [
"<your PVA ID>"
]
}
Your PVA ID for allow list can be found.

Highlighted
Advocate II
Advocate II

Re: Add PVA as skill to exiting MS bot framework bot

Is there any official step by step document on how to connected BF skill to PVA? Any known limitations, issues etc?

Highlighted

Re: Add PVA as skill to exiting MS bot framework bot

@rohitjadhav123 - I understand you're looking for step-by-step guidance to build a Skill to later integrate with PVA. We don't have anything such as that, so advise you to follow the following guidance that provides a step-by-step to building a Skill (for PVA and/or Virtual Assistant).

 

>> https://microsoft.github.io/botframework-solutions/skills/tutorials/create-skill/csharp/1-intro/

 

Each sample skill (Calendar, Email, etc.) contains a version of the manifest that works with PVA (see Calendar skill manifest).

 

Hope that helps.

 

-Pawan

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

FirstImage

Experience what’s next for Power Virtual Agents

Join us for an in-depth look at the new Power Virtual Agents innovations at the free Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (8,322)