Skip to content

Commit 2477863

Browse files
committed
Merge branch 'main' into release-foundry-toc
2 parents 51dc0f4 + b361953 commit 2477863

14 files changed

+257
-15
lines changed

articles/ai-services/agents/how-to/tools/bing-grounding.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ Developers and end users don't have access to raw content returned from Groundin
2828
> 1. By creating and using a Grounding with Bing Search resource through code-first experience, such as Azure CLI, or deploying through deployment template, you agree to be bound by and comply with the terms available at https://www.microsoft.com/en-us/bing/apis/grounding-legal, which may be updated from time to time.
2929
> 1. When you use Grounding with Bing Search, your customer data is transferred outside of the Azure compliance boundary to the Grounding with Bing Search service. Grounding with Bing Search is not subject to the same data processing terms (including location of processing) and does not have the same compliance standards and certifications as the Azure AI Agent Service, as described in the [Grounding with Bing Search Terms of Use](https://www.microsoft.com/en-us/bing/apis/grounding-legal). It is your responsibility to assess whether use of Grounding with Bing Search in your agent meets your needs and requirements.
3030
31+
## How Grounding with Bing Search works
32+
33+
The user query is the message that an end user sends to an agent, such as *"should I take an umbrella with me today? I'm in Seattle."* Instructions are the system message a developer can provide to share context and provide instructions to the AI model on how to use various tools or behave.
34+
35+
When a user sends a query, the customer's AI model deployment first processes it (using the provided instructions) to later perform a Bing search query (which is [visible to developers](#how-to-display-grounding-with-bing-search-results)).
36+
Grounding with Bing returns relevant search results to the customer's model deployment, which then generates the final output. When using Grounding with Bing Search, only the Bing search query and your resource key are sent to Bing, and no end user-specific information is included. Your resource key is sent to Bing solely for billing and rate limiting purposes. Any Bing search query that is generated and sent to Bing for the purposes of grounding is transferred, along with the resource key, outside of the Azure compliance boundary to the Grounding with Bing Search service. Grounding with Bing Search is subject to Bing's terms and do not have the same compliance standards and certifications as the Azure AI Agent Service, as described in the [Grounding with Bing Search Terms of Use](https://www.microsoft.com/bing/apis/grounding-legal). It is your responsibility to assess whether the use of Grounding with Bing Search in your agent meets your needs and requirements.
37+
3138
## Usage support
3239

3340
|Azure AI foundry support | Python SDK | C# SDK | JavaScript SDK | REST API |Basic agent setup | Standard agent setup |

articles/ai-services/language-service/personally-identifiable-information/includes/identification-entities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ The following entities are grouped and listed by country/region:
13281328
:::column-end:::
13291329
:::column span="2":::
13301330

1331-
To get this entity category, add `ITValueAddedTaxNumber` to the `piiCategories` parameter. `ITValueAddedTaxNumber` will be returned in the API response if detected.
1331+
To get this entity category, add `JPResidentRegistrationNumber` to the `piiCategories` parameter. `JPResidentRegistrationNumber` will be returned in the API response if detected.
13321332
13331333
Also returned with `domain=phi`.
13341334
:::column-end:::

articles/ai-services/openai/concepts/use-your-data.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ For some data sources such as uploading files from your local machine (preview)
8282
|URL/Web address (preview) | Web content from the URLs is stored in Azure Blob Storage. |
8383
|Azure Blob Storage (preview) | Upload files from Azure Blob Storage to be ingested into an Azure AI Search index. |
8484

85+
If you choose to upload files or connect Azure Blob Storage, your data should be unstructured text for best results. If you have non-textual semi-structured or structured data consider converting it to text. If your files have special formatting, such as tables and columns, or bullet points, prepare your data with the data preparation script available on [GitHub](https://github.com/microsoft/sample-app-aoai-chatGPT/tree/main/scripts#optional-crack-pdfs-to-text).
86+
8587
:::image type="content" source="../media/use-your-data/azure-databases-and-ai-search.png" lightbox="../media/use-your-data/azure-databases-and-ai-search.png" alt-text="Diagram of vector indexing services.":::
8688

8789
# [Azure AI Search](#tab/ai-search)
@@ -93,7 +95,7 @@ You might want to consider using an Azure AI Search index when you either want t
9395
> [!NOTE]
9496
> * To use an existing index, it must have at least one searchable field.
9597
> * Set the CORS **Allow Origin Type** option to `all` and the **Allowed origins** option to `*`.
96-
98+
> * You cannot have complex fields in your search index.
9799
98100
### Search types
99101

articles/ai-services/openai/how-to/use-web-app.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,21 @@ ms.service: azure-ai-openai
77
ms.topic: how-to
88
author: aahill
99
ms.author: aahi
10-
ms.date: 01/08/2025
10+
ms.date: 02/19/2025
1111
recommendations: false
1212
---
1313

1414

1515
# Use the Azure OpenAI web app
1616

17+
> [!NOTE]
18+
> The web app and its [source code](https://github.com/microsoft/sample-app-aoai-chatGPT) are provided "as is" and as a sample only. Customers are responsible for all customization and implementation of their web apps. See the support section for the web app on [GitHub](https://github.com/microsoft/sample-app-aoai-chatGPT/blob/main/SUPPORT.md) for more information.
19+
1720
Along with Azure AI Foundry portal, APIs, and SDKs, you can use the customizable standalone web app to interact with Azure OpenAI models by using a graphical user interface. Key features include:
1821
* Connectivity with multiple data sources to support rich querying and retrieval-augmented generation, including Azure AI Search, Prompt Flow, and more.
1922
* Conversation history and user feedback collection through Cosmos DB.
2023
* Authentication with role-based access control via Microsoft Entra ID.
2124
* Customization of the user interface, data sources, and features using environment variables (no-code via Azure portal).
22-
* Sample source code for the web app is available on [GitHub](https://github.com/microsoft/sample-app-aoai-chatGPT). Source code is provided "as is" and as a sample only. Customers are responsible for all customization and implementation of their web apps.
2325

2426
You can deploy the app via the [Azure AI Foundry portal](/azure/ai-studio/tutorials/deploy-chat-web-app), the [Azure portal](https://portal.azure.com), or the Azure Developer CLI via your local machine [(instructions available at the repository here)](https://github.com/microsoft/sample-app-aoai-chatGPT). Depending on your deployment channel, you can preload a data source to chat with via the web application, but this can be changed after deployment.
2527

articles/ai-services/openai/monitor-openai-reference.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ Here are the most important metrics we think you should monitor for Azure OpenAI
3131
- Prompt Token Cache Match Rate
3232
- Time to Response
3333
- Time Between Tokens
34-
3534
- Time to Last Byte
36-
37-
- Normalized Time to First Byte
35+
- Normalized Time to First Byte
36+
- Tokens per Second
3837

3938
You can also monitor Content Safety metrics that are used by other Azure AI services.
4039
- Blocked Volume

articles/ai-services/translator/reference/v3-0-languages.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,7 @@ The following example shows how to retrieve languages supported for text transla
247247
```curl
248248
curl "https://api.cognitive.microsofttranslator.com/languages?api-version=3.0&scope=translation"
249249
```
250+
251+
## Related content
252+
253+
For more information, *see* [Language support](../language-support.md).

articles/ai-studio/concepts/rbac-ai-studio.md

Lines changed: 116 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ Here's a table of the built-in roles and their permissions for the hub:
3939
| Role | Description |
4040
| --- | --- |
4141
| Owner | Full access to the hub, including the ability to manage and create new hubs and assign permissions. This role is automatically assigned to the hub creator|
42-
| Contributor | User has full access to the hub, including the ability to create new hubs, but isn't able to manage hub permissions on the existing resource. |
42+
| Contributor | User has full access to the hub, including the ability to create new hubs, but isn't able to manage hub permissions on the existing resource. |
43+
| Azure AI Administrator (preview) | This role is automatically assigned to the system-assigned managed identity for the hub. The Azure AI Administrator role has the minimum permissions needed for the managed identity to perform its tasks. For more information, see [Azure AI Administrator role preview](#azure-ai-administrator-role-preview). |
4344
| Azure AI Developer | Perform all actions except create new hubs and manage the hub permissions. For example, users can create projects, compute, and connections. Users can assign permissions within their project. Users can interact with existing Azure AI resources such as Azure OpenAI, Azure AI Search, and Azure AI services. |
4445
| Azure AI Inference Deployment Operator | Perform all actions required to create a resource deployment within a resource group. |
4546
| Reader | Read only access to the hub. This role is automatically assigned to all project members within the hub. |
@@ -48,6 +49,94 @@ The key difference between Contributor and Azure AI Developer is the ability to
4849

4950
Only the Owner and Contributor roles allow you to make a hub. At this time, custom roles can't grant you permission to make hubs.
5051

52+
### Azure AI Administrator role preview
53+
54+
Prior to 11/19/2024, the system-assigned managed identity created for the hub was automatically assigned the __Contributor__ role for the resource group that contains the hub and projects. Hubs created after this date have the system-assigned managed identity assigned to the __Azure AI Administrator__ role. This role is more narrowly scoped to the minimum permissions needed for the managed identity to perform its tasks.
55+
56+
The __Azure AI Administrator__ role is currently in public preview.
57+
58+
[!INCLUDE [feature-preview](../includes/feature-preview.md)]
59+
60+
The __Azure AI Administrator__ role has the following permissions:
61+
62+
```json
63+
{
64+
"permissions": [
65+
{
66+
"actions": [
67+
"Microsoft.Authorization/*/read",
68+
"Microsoft.CognitiveServices/*",
69+
"Microsoft.ContainerRegistry/registries/*",
70+
"Microsoft.DocumentDb/databaseAccounts/*",
71+
"Microsoft.Features/features/read",
72+
"Microsoft.Features/providers/features/read",
73+
"Microsoft.Features/providers/features/register/action",
74+
"Microsoft.Insights/alertRules/*",
75+
"Microsoft.Insights/components/*",
76+
"Microsoft.Insights/diagnosticSettings/*",
77+
"Microsoft.Insights/generateLiveToken/read",
78+
"Microsoft.Insights/logDefinitions/read",
79+
"Microsoft.Insights/metricAlerts/*",
80+
"Microsoft.Insights/metricdefinitions/read",
81+
"Microsoft.Insights/metrics/read",
82+
"Microsoft.Insights/scheduledqueryrules/*",
83+
"Microsoft.Insights/topology/read",
84+
"Microsoft.Insights/transactions/read",
85+
"Microsoft.Insights/webtests/*",
86+
"Microsoft.KeyVault/*",
87+
"Microsoft.MachineLearningServices/workspaces/*",
88+
"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action",
89+
"Microsoft.ResourceHealth/availabilityStatuses/read",
90+
"Microsoft.Resources/deployments/*",
91+
"Microsoft.Resources/deployments/operations/read",
92+
"Microsoft.Resources/subscriptions/operationresults/read",
93+
"Microsoft.Resources/subscriptions/read",
94+
"Microsoft.Resources/subscriptions/resourcegroups/deployments/*",
95+
"Microsoft.Resources/subscriptions/resourceGroups/read",
96+
"Microsoft.Resources/subscriptions/resourceGroups/write",
97+
"Microsoft.Storage/storageAccounts/*",
98+
"Microsoft.Support/*",
99+
"Microsoft.Search/searchServices/write",
100+
"Microsoft.Search/searchServices/read",
101+
"Microsoft.Search/searchServices/delete",
102+
"Microsoft.Search/searchServices/indexes/*",
103+
"Microsoft.DataFactory/factories/*"
104+
],
105+
"notActions": [],
106+
"dataActions": [],
107+
"notDataActions": []
108+
}
109+
]
110+
}
111+
```
112+
113+
> [!TIP]
114+
> We recommend that you convert hubs created before 11/19/2024 to use the Azure AI Administrator role. The Azure AI Administrator role is more narrowly scoped than the previously used Contributor role and follows the principal of least privilege.
115+
116+
You can convert hubs created before 11/19/2024 to use the new Azure AI Administrator role by using one of the following methods:
117+
118+
- Azure REST API: Use a `PATCH` request to the Azure REST API for the workspace. The body of the request should set `{"properties":{"allowRoleAssignmeentOnRG":true}}`. The following example shows a `PATCH` request using `curl`. Replace `<your-subscription>`, `<resource-group-name>`, `<workspace-name>`, and `<YOUR-ACCESS-TOKEN>` with the values for your scenario. For more information on using REST APIs, visit the [Azure REST API documentation](/rest/api/azure/).
119+
120+
```bash
121+
curl -X PATCH https://management.azure.com/subscriptions/<your-subscription>/resourcegroups/<resource-group-name>/providers/Microsoft.MachineLearningServices/workspaces/<workspace-name>?api-version=2024-04-01-preview -H "Authorization:Bearer <YOUR-ACCESS-TOKEN>"
122+
```
123+
124+
- Azure CLI: Use the `az ml workspace update` command with the `--allow-roleassignment-on-rg true` parameter. The following example updates a workspace named `myworkspace`. This command requires the Azure Machine Learning CLI extension version 2.27.0 or later.
125+
126+
```azurecli
127+
az ml workspace update --name myworkspace --allow-roleassignment-on-rg true
128+
```
129+
130+
- Azure Python SDK: Set the `allow_roleassignment_on_rg` property of the Workspace object to `True` and then perform an update operation. The following example updates a workspace named `myworkspace`. This operation requires the Azure Machine Learning SDK version 1.17.0 or later.
131+
132+
```python
133+
ws = ml_client.workspaces.get(name="myworkspace")
134+
ws.allow_roleassignment_on_rg = True
135+
ws = ml_client.workspaces.begin_update(workspace=ws).result()
136+
```
137+
138+
If you encounter problems with the Azure AI Administrator role, you can revert to the Contributor role as a troubleshooting step. For more information, see [Revert to the Contributor role](#revert-to-the-contributor-role).
139+
51140
### Azure AI Developer role
52141

53142
The full set of permissions for the new "Azure AI Developer" role are as follows:
@@ -100,6 +189,7 @@ Here's a table of the built-in roles and their permissions for the project:
100189
| --- | --- |
101190
| Owner | Full access to the project, including the ability to assign permissions to project users. |
102191
| Contributor | User has full access to the project but can't assign permissions to project users. |
192+
| Azure AI Administrator (preview) | This role is automatically assigned to the system-assigned managed identity for the hub. The Azure AI Administrator role has the minimum permissions needed for the managed identity to perform its tasks. For more information, see [Azure AI Administrator role preview](#azure-ai-administrator-role-preview). |
103193
| Azure AI Developer | User can perform most actions, including create deployments, but can't assign permissions to project users. |
104194
| Azure AI Inference Deployment Operator | Perform all actions required to create a resource deployment within a resource group. |
105195
| Reader | Read only access to the project. |
@@ -416,6 +506,31 @@ Assign the following roles to the user or service principal. The role you assign
416506
| Azure AI Search | Search Index Data Contributor | Required for indexing scenarios. |
417507
| Azure AI Search| Search Index Data Reader | Inference service queries the data from the index. Only used for inference scenarios. |
418508

509+
### Revert to the Contributor role
510+
511+
If you create a new hub and encounter errors with the new default role assignment of Azure AI Administrator for the managed identity, use the following steps to change the hub to the Contributor role:
512+
513+
> [!IMPORTANT]
514+
> We don't recommend reverting a hub to the Contributor role unless you encounter problems. If reverting does solve the problems that you are encountering, please open a support incident with information on the problems that reverting solved so that we can invesitage further.
515+
>
516+
> If you would like to revert to the Contributor role as the _default_ for new hubs, open a [support request](https://ms.portal.azure.com/#view/Microsoft_Azure_Support/NewSupportRequestV3Blade) with your Azure subscription details and request that your subscription be changed to use the Contributor role as the default for the system-assigned managed identity of new hubs.
517+
518+
1. Delete the role assignment for the hub's managed-identity. The scope for this role assignment is the __resource group__ that contains the hub, so the role must be deleted from the resource group.
519+
520+
> [!TIP]
521+
> The system-assigned managed identity for the hub is the same as the hub name.
522+
523+
From the Azure portal, navigate to the __resource group__ that contains the hub. Select __Access control (IAM)__, and then select __Role assignments__. In the list of role assignments, find the role assignment for the managed identity. Select it, and then select __Delete__.
524+
525+
For information on deleting a role assignment, see [Remove role assigngments](/azure/role-based-access-control/role-assignments-remove).
526+
527+
1. Create a new role assignment on the __resource group__ for the __Contributor__ role. When adding this role assignment, select the managed-identity for the hub as the assignee. The name of the system-assigned managed identity is same as the hub name.
528+
529+
1. From the Azure portal, navigate to the __resource group__ that contains the hub. Select __Access control (IAM)__, and then select __Add role assignment__.
530+
1. From the __Role__ tab, select __Contributor__.
531+
1. From the __Members__ tab, select __Managed identity__, __+ Select members__, ans set the __Managed identity__ dropdown to __Azure AI hub__. In the __Select__ field, enter the name of the hub. Select the hub from the list, and then select __Select__.
532+
1. From the __Review + assign__ tab, select __Review + assign__.
533+
419534
## Next steps
420535

421536
- [How to create an Azure AI Foundry hub](../how-to/create-azure-ai-resource.md)

articles/machine-learning/.openpublishing.redirection.machine-learning.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"redirections": [
33
{
44
"source_path_from_root": "/articles/machine-learning/how-to-regulate-registry-deployments.md",
5-
"redirect_url": "/azure/machine-learning/how-to-built-in-policy-model-deployments",
5+
"redirect_url": "/azure/machine-learning/how-to-built-in-policy-model-deployment",
66
"redirect_document_id": false
77
},
88
{

0 commit comments

Comments
 (0)