We are in process of building a chatbot where the business has 2 set of personas. One needs to be authenticated via AAD and we need to create a sign in for these set of users, the other persona does not need a sign in. Is this possible to create 2 personas on PVA. Additionally if this is possible for these 2 personas can PVA throw different answers to their queries.
Example: Team from billing persona -Team A asks for payment method options - this is the group that needs to be authenticated and then see a response.
Other users from outside organization does not need to login and sees only basic information.
Please suggest if this is a possibility.
Thanks, Shivi
Thank you Henry for all your help.
Regards, Shivi
Not sure about the guidance from ChatGPT, I'm guessing it's providing examples for a custom chat control?
On creating and setting global variables in the production version of PVA, you can get inspiration from this recent post I did: Set and update global variables using Bot Framework Composer and how to retain conversation context when interacting with OpenAI GPT models
Hi Henry
i did check stackoverflow and GTP3 to get the reply, added a screen shot for reference. it also suggested how to create it using if then else statement:
and this
In our scenario we have 3 types of users- unidentified i.e. not signed in, then sign in through SSO and OAuth 2.0.
Thanks, Shivi
Hi @Anonymous, can you share a screenshot of where that link was displayed?
In the current version of PVA, this is where PVA 'global' variables are described: Work with chatbot variables - Power Virtual Agents | Microsoft Learn. In that version, variables can be created as a question output of a Bot Framework Composer custom dialog output.
In the unified authoring canvas (now in preview), variable management is much easier: Reuse variables across topics (preview) - Power Virtual Agents | Microsoft Learn
Hi @HenryJammes thank you so much for the reply, slight miscommunication from my end - in all cases user has to be authenticated but the medium of authentication would be different - example: AAD vs OAuth 2.0 and OpenID Connect standard-compliant authentication service. I was researching that it is possible by creating/ using Global Variables options. UNfortuantely in the admin tab i am not able to figure where to locate this option.
The help link is also broken: https://docs.microsoft.com/en-us/power-virtual-agents/global-variables-create
Could you please route if there is a link or way to create global variables from admin portal.
Thank you.
Hi @Anonymous,
I'm not 100% sure if the bot can work both unauthenticated and authenticated at the same time.
Couple of reference documents that may help:
For your question about contextualized topic logic based on the user context, this should possible if you set variables (e.g. AuthenticatedUser yes or no) and base condition nodes on these values.
Out of curiosity, given the different scenarios, have you considered creating 2 chatbots?
Henry
Romain The Low-Code...
74
Pablo Roldan
61
stampcoin
10