Skip to content

Commit 2f80352

Browse files
authored
Merge pull request #271140 from MicrosoftDocs/main
4/3/2024 PM Publish
2 parents 2c272a9 + 155382f commit 2f80352

File tree

339 files changed

+2616
-1150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

339 files changed

+2616
-1150
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@
12321232
".openpublishing.redirection.government.json",
12331233
".openpublishing.redirection.guidance.json",
12341234
".openpublishing.redirection.industry.json",
1235+
".openpublishing.redirection.iot-develop.json",
12351236
".openpublishing.redirection.iot-hub-device-update.json",
12361237
".openpublishing.redirection.json",
12371238
".openpublishing.redirection.key-vault.json",
@@ -1298,7 +1299,6 @@
12981299
"articles/internet-peering/.openpublishing.redirection.internet-peering.json",
12991300
"articles/iot-accelerators/.openpublishing.redirection.iot-accelerators.json",
13001301
"articles/iot-central/.openpublishing.redirection.iot-central.json",
1301-
"articles/iot-develop/.openpublishing.redirection.iot-develop.json",
13021302
"articles/iot-dps/.openpublishing.redirection.iot-dps.json",
13031303
"articles/iot-edge/.openpublishing.redirection.iot-edge.json",
13041304
"articles/iot-hub/.openpublishing.redirection.iot-hub.json",

.openpublishing.redirection.defender-for-cloud.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,16 @@
945945
"redirect_url": "/azure/defender-for-cloud/create-custom-recommendations",
946946
"redirect_document_id": false
947947
},
948+
{
949+
"source_path_from_root": "/articles/defender-for-cloud/view-and-remediate-vulnerabilities-for-images.md",
950+
"redirect_url": "/azure/defender-for-cloud/view-and-remediate-vulnerabilities-containers",
951+
"redirect_document_id": false
952+
},
953+
{
954+
"source_path_from_root": "/articles/defender-for-cloud/view-and-remediate-vulnerability-assessment-findings.md",
955+
"redirect_url": "/azure/defender-for-cloud/view-and-remediate-vulnerability-registry-images",
956+
"redirect_document_id": false
957+
},
948958
{
949959
"source_path_from_root": "/articles/defender-for-cloud/how-to-migrate-to-built-in.md",
950960
"redirect_url": "/azure/defender-for-cloud/how-to-transition-to-built-in",

.openpublishing.redirection.sentinel.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "articles/sentinel/sap/deploy-data-connector-agent-container-other-methods.md",
5+
"redirect_url": "/azure/sentinel/sap/deploy-data-connector-agent-container",
6+
"redirect_document_id": true
7+
},
38
{
49
"source_path": "articles/sentinel/data-connectors/abnormalsecurity-using-azure-function.md",
510
"redirect_url": "/azure/sentinel/data-connectors/abnormalsecurity-using-azure-functions",

articles/ai-services/document-intelligence/concept-composed-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ With the introduction of [**custom classification models**](./concept-custom-cla
7070

7171
* With models composed using v2.1 of the API continues to be supported, requiring no updates.
7272

73-
* For custom models, the maximum number that can be composed is 100.
73+
* For custom models, the maximum number that can be composed is 200.
7474

7575
::: moniker-end
7676

421 KB
Loading

articles/ai-services/openai/how-to/managed-identity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure OpenAI
44
description: Provides guidance on how to set managed identity with Microsoft Entra ID
55
ms.service: azure-ai-openai
66
ms.topic: how-to
7-
ms.date: 02/29/2024
7+
ms.date: 04/03/2024
88
author: mrbullwinkle
99
ms.author: mbullwin
1010
recommendations: false
@@ -31,7 +31,7 @@ In the following sections, you'll use the Azure CLI to sign in, and obtain a bea
3131

3232
## Assign yourself to the Cognitive Services User role
3333

34-
Assign yourself the [Cognitive Services User](role-based-access-control.md#cognitive-services-contributor) role to allow you to use your account to make Azure OpenAI API calls rather than having to use key-based auth. After you make this change it can take up to 5 minutes before the change takes effect.
34+
Assign yourself either the [Cognitive Services OpenAI User](role-based-access-control.md#cognitive-services-openai-user) or [Cognitive Services OpenAI Contributor](role-based-access-control.md#cognitive-services-openai-contributor) role to allow you to use your account to make Azure OpenAI inference API calls rather than having to use key-based auth. After you make this change it can take up to 5 minutes before the change takes effect.
3535

3636
## Sign into the Azure CLI
3737

articles/ai-services/openai/how-to/role-based-access-control.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: mrbullwinkle
77
manager: nitinme
88
ms.service: azure-ai-language
99
ms.topic: how-to
10-
ms.date: 11/15/2023
10+
ms.date: 04/03/2024
1111
ms.author: mbullwin
1212
recommendations: false
1313
---
@@ -53,6 +53,7 @@ If a user were granted role-based access to only this role for an Azure OpenAI r
5353
✅ Ability to view the resource and associated model deployments in Azure OpenAI Studio. <br>
5454
✅ Ability to view what models are available for deployment in Azure OpenAI Studio. <br>
5555
✅ Use the Chat, Completions, and DALL-E (preview) playground experiences to generate text and images with any models that have already been deployed to this Azure OpenAI resource. <br>
56+
✅ Make inference API calls with Microsoft Entra ID.
5657

5758
A user with only this role assigned would be unable to:
5859

@@ -101,6 +102,7 @@ This role is typically granted access at the resource group level for a user in
101102
A user with only this role assigned would be unable to:
102103

103104
❌ Access quota <br>
105+
❌ Make inference API calls with Microsoft Entra ID.
104106

105107
### Cognitive Services Usages Reader
106108

@@ -148,7 +150,7 @@ All the capabilities of Cognitive Services Contributor plus the ability to:
148150
|Create customized content filters|||||
149151
|Add a data source for the “on your data” feature|||||
150152
|Access quota|||||
151-
153+
|Make inference API calls with Microsoft Entra ID|||||
152154
## Common Issues
153155

154156
### Unable to view Azure Cognitive Search option in Azure OpenAI Studio

articles/ai-services/openai/includes/chat-completion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def num_tokens_from_messages(messages, model="gpt-3.5-turbo-0613"):
502502
return num_tokens_from_messages(messages, model="gpt-4-0613")
503503
else:
504504
raise NotImplementedError(
505-
f"""num_tokens_from_messages() is not implemented for model {model}. See https://github.com/openai/openai-python/blob/main/chatml.md for information on how messages are converted to tokens."""
505+
f"""num_tokens_from_messages() is not implemented for model {model}."""
506506
)
507507
num_tokens = 0
508508
for message in messages:

articles/ai-services/openai/includes/chat-markup-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ print(response['choices'][0]['text'])
4040
> [!NOTE]
4141
> The following parameters aren't available with the gpt-35-turbo model: `logprobs`, `best_of`, and `echo`. If you set any of these parameters, you'll get an error.
4242
43-
The `<|im_end|>` token indicates the end of a message. We recommend including `<|im_end|>` token as a stop sequence to ensure that the model stops generating text when it reaches the end of the message. You can read more about the special tokens in the [Chat Markup Language (ChatML)](#chatml) section.
43+
The `<|im_end|>` token indicates the end of a message. We recommend including `<|im_end|>` token as a stop sequence to ensure that the model stops generating text when it reaches the end of the message.
4444

4545
Consider setting `max_tokens` to a slightly higher value than normal such as 300 or 500. This ensures that the model doesn't stop generating text before it reaches the end of the message.
4646

0 commit comments

Comments
 (0)