Hi,
I am trying to recreate a bot in PVA from Bot Framework SDK and am stuck in a loop because PVA seems to be hanging onto an Entity.
Example to explain the scenario in the Bot Framework SDK:
User enters: "show me the rider details for Bernard Kerr"
User then enters: "rider details for Aimi Kenyon"
If the user enters: "show me rider details"
Creating this in PVA in the Topic I select "Skip the Question" so that the user is not asking "show me the rider details for Bernard Kerr" and then getting the response, "What is the name of the rider?"
The Problem:
In the scenario above, how I have created this in PVA, if I enter:
"show me the rider details for Bernard Kerr" I get that fine.
When I then enter: "rider details for Aimi Kenyon" and I get Bernard's card again.
I assume that PVA is skipping the question the second time as the Entity is already populated, disregarding the fact the user input has changed.
So, how can I clear the variable held in the Entity at the end of the Topic, without showing any other messages from the bot.
Or is this just not possible yet?
I could set the Topic to 'Ask the question every time', for the name Entity, but that looks horrible when the user has provided the name already.
Thanks.
Hi @Shujaath_Khan apologies for the delay coming back, I have been out. Thanks for that - I did end the conversation but there was no way to do that without a poll, which I do not want, that's not a great user experience,
show the me the details for rider A:
> details A. Poll.
show the me the details for rider B:
> details B. Poll.
It's the end of the dialog not the conversation, but I was looking at that as an option if it would reset the entity value, with asking the user other questions. It's a great thing to add at the end of a conversation but this would be at every stage of the engagement.
I know that PVA won't be able to do everything the SDK can, it seems to be that entities / variable handling is one.
Hi @superBruni ,
Hope you're ending the conversation once first topic is completed?
There no method available to delete except set the value again for the entity
Sample topic for ref. Here I've used built-in entity for person Name.
If not you can think of implementing using authentication if it's context driven
ref: https://docs.microsoft.com/en-us/power-virtual-agents/authoring-create-edit-topics
Thanks
Ekta Gupta
4
ricardodesouza
2
L-1234567-0
2