How to use "has role entity" - botframework

I'm creating a bot with bot framework composer and LUIS Cognitive Services. I need to know how can i use the "has role entity" because I don't find the documentation on microsoft learn.
Someone can help me?

Related

How to convert a V4 bot to a Skill?

We are planning to add existing bot which is V4 to our Universal Bot which is in Virtual Assistant template.
For this we have come up with the Skill based approach via which we can add skills to existing VA.
The challenge which we are facing now is that we couldn't find link which was there earlier to convert existing V4 bot to skill (https://microsoft.github.io/botframework-solutions/skills/tutorials/convert-v4-bot/csharp/2-add-packages/).
and the link which there in FAQ section(https://microsoft.github.io/botframework-solutions/help/faq/ ) under "How do I convert an existing v4 Bot to a Bot Framework Skill?" redirects me to a Microsoft page implementing a skill (https://learn.microsoft.com/en-us/azure/bot-service/skill-implement-skill?view=azure-bot-service-4.0&tabs=cs)
The current document has section of migrating Virtual Assistant to Bot framework Skill(Migrate existing Virtual Assistant to Bot Framework Skills GA).
but I cannot find any page in updated document which can guide me to convert existing V4 Bot to skill.
Please help us with the same.
Looks like your problem is solved on GitHub in this issue. For others with a similar issue, here is the explanation.
The link https://learn.microsoft.com/en-us/azure/bot-service/skill-implement-skill?view=azure-bot-service-4.0&tabs=cs described how to implement a skill. If your bot is based on the BotBuilder SDK greater than or equals to 4.7.0, then your bot is automatically a skill. Virtual Assistant that's created based on the Virtual Assistant Template that's greater than or equals to the 0.7 release will be able to connect to a skill without extra work.
Hope this helps.

Is there an easy way to add custom bot to Teams conversation

We want to easily add our custom bot to the conversation window when an user ping us. Currently we have to upload the zip file of the bot to the conversation every time. Ideally the bot should be found by searching in the "Add People" - just like how the real people been added. Several questions:
I noticed that the custom bot can be published. However, we don't want it to be published publicly, it needs to be Microsoft internally. Is it possible?
If the bot got published, can we add the bot to a conversation just by searching in the "Add People" box? If not, is there anyway to achieve this?
Thank you!
If you want to publish the bot for your organisation only, you can publish it in your tenants app catalog. You need to be a global admin or have the teams service admin role enabled to publish apps for your organization.
Publish apps in the Microsoft Teams Tenant Apps Catalog
As far as I know, this isn't possible yet. However when people search for your bot in the topbar, they can add the bot to a team or to their personal workspace.

LUIS deployed through SharePoint - How to get user data?

We have deployed LUIS V4 in our Azure Platform, and made it available to our employee through SharePoint. It is currently open and does not need log in to be used.
We would like to capture information about who the person interacting with the bot is; is there any way that information related to the user can be retrieved? (employees to use the bot must be authenticated to Azure as it is within a SharePoint, but the bot doesn't require authentication as mentioned)
Thank you!
If you are just using LUIS, then no, it does not do any user specific tasks. It only translates an utterance (phrase) into specific actions (intents and entities), also does not store any state.
So all authorisations and user customisations need to be done outside of LUIS, with plain code. If you are using Azure/Microsoft Bot, you can hook up a channel to LUIS and use the id to identify user (skype id, phone number, microsoft teams id...)
A bit of info for connecting Azure Bot with SharePoint.

Microsoft Botframework and Data Protection

I'm using MS Bot Framework with Directline for webchat and our client has raised an issue about Data Protection i.e. the user is sending personal data via a Microsoft api.
I don't really know how to reply to this since (a) Pretty much every bot uses a cloud service if you want any sort of assistance and (b) I assume that Directline does nothing with the data and it is purely a conduit, but I don't know that for a fact.
Was going to post on bot builder github issues, but they say it's just for bugs and suggested that I come here. I am looking for some clarification (or a contact at MS) about the privacy and data protection of the conversations if you are using Microsoft's bot framework with any one of their connection services - particularly Directline.
Thanks,
Jarrod
Our official handling terms are listed under the Bot Framework Terms of Service and Privacy statement found on the Bot Framework portal. Are there specific questions your customer has?
-jim

Microsoft Bot Framework Language translate

I am quite new to the Microsoft Bot Framework, I would like to use BOT to translate user input to the language user specifies, how to get started with this? please share your thoughts.
In Bot Builder V4,
you can use System.Globalization.CultureInfo("en-US");
Here is a link to the official answer regarding this https://github.com/Microsoft/BotBuilder/issues/1156

Resources