Folks, is there a way to do entity detection on trigger phrases in a topic? For example, I would like to be able to ask the agent something like "What is the capital of Peru?", and the agent should detect the entity "Peru" from the trigger phrase.
This is something that I am able to do with the Microsoft Bot Framework, but it seems like in Power Virtual Agents you first need to frame your need to the agent, e.g. "I need to know the capital of a country/region", before you can get into a more specific dialog where the agent then prompts "Sure, for which country/region?", and then read the answer from the user .
Any tips on how to achieve this are much appreciated, although it looks like it is not supported.
@renatoromao, I wonder if you have an actual implementation of your proposed solution that you can share. It sounds good in theory but, how do you even get the LUIS endpoint information to connect from Power Automate? The topic then needs to be either pretty global or have triggering phrases for every specific item that PVA cannot identify.
Hi @renatoromao
I have the same issue right now with PVA and I am using power automate to connect to LUIS to find the entity from the trigger phrases. But I am not able to initiate an action with the first statement that the user says to the bot. For example, if you see the below authoring canvas
when the user types I need some data, then the topic gets activated and then the questions pops up asking 'what data you want?'. If the user says 'grant data', then power automate will call LUIS app and get the entity 'grant' extracted from the user input. This is a good scenario.
but if the user types in 'I want grant data', I need the bot to directly connect to LUIS app and fetch me the entity 'grant' from the user input. Instead the bot will ask me the question 'what data you want?' again. This is not a good scenario. To avoid this, we need to be able to activate LUIS app with the trigger statement itself and if there is no entity to be found in the statement, then the bot should ask for ' what data you want?'. How do I make this happen? it looks like there is no way to capture the user input that triggers the topic and send it to LUIS app as input.
Please help.
Thanks again for your help, @renatoromao.
Although a bit convoluted, and perhaps not the best for performance, your workaround solution works. I have used LUIS directly, before, from a bot I created rom scratch using the Microsoft Bot Framework.
Hi @adafieno ,
As @AkashJain said, it's not possible yet. You can create an idea here: https://aka.ms/pva/community/ideas
And you can use a workaround using PVA calling Power Automate and your workflow connect with https://www.luis.ai/ (LUIS). The LUIS can understand your country and return to Power Automate and after Power Automate sends it to PVA.
Hi Partner
As far as I know, unfortunately this is not possible for now with PVA
Ekta Gupta
4
ricardodesouza
2
L-1234567-0
2