Skip to content

Commit 7fdaa98

Browse files
authored
Merge pull request #270683 from MicrosoftDocs/main
3/29/2024 PM Publish
2 parents 8f88f9c + 341b9d7 commit 7fdaa98

File tree

122 files changed

+1725
-886
lines changed

Some content is hidden

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

122 files changed

+1725
-886
lines changed

.openpublishing.redirection.operator-5g-core.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
"source_path_from_root": "/articles/operator-5g-core/quickstart-deploy-network-functions.md",
4545
"redirect_url": "/azure/operator-5g-core/how-to-deploy-network-functions",
4646
"redirect_document_id": false
47+
},
48+
{
49+
"source_path_from_root": "/articles/operator-5g-core/quickstart-perform-checks-post-deployment.md",
50+
"redirect_url": "/azure/operator-5g-core/quickstart-configure-extension-for-status-monitoring",
51+
"redirect_document_id": false
4752
}
4853
]
4954
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# %version 1
2+
contentPath: articles\storage\blobs\assign-azure-role-data-access.md
3+
4+
steps:
5+
- task: SetPlaceholder@1
6+
textToReplace: <email>
7+
replacementText:
8+
uid: cb105ef6
9+
- task: SetPlaceholder@1
10+
textToReplace: <subscription-id>
11+
replacementText:
12+
uid: e3ce9356
13+
- task: SetPlaceholder@1
14+
textToReplace: ab12cd34-ef56-ab12-cd34-ef56ab12cd34
15+
replacementText:
16+
uid: 2de8753c
17+
- task: SetPlaceholder@1
18+
textToReplace: <resource-group-name>
19+
replacementText: myResourceGroup
20+
uid: 542306be
21+
- task: SetPlaceholder@1
22+
textToReplace: <storage-account-name>
23+
replacementText:
24+
uid: "57011072"
25+
- task: SetPlaceholder@1
26+
textToReplace: <container-name>
27+
replacementText:
28+
uid: c0f2f9d5
29+
- task: RunCommand@1
30+
environment:
31+
type: azure-cloud-shell-pwsh
32+
outputValidationRules:
33+
- operator: contains
34+
value: 'RoleDefinitionName : Storage Blob Data Contributor'
35+
uid: fee1778
36+
- task: RunCommand@1
37+
environment:
38+
type: azure-cloud-shell-pwsh
39+
outputValidationRules:
40+
- operator: contains
41+
value: 'RoleDefinitionName : Storage Blob Data Reader'
42+
uid: 3361d580
43+
- task: RunCommand@1
44+
environment:
45+
type: az-cli
46+
outputValidationRules:
47+
- operator: contains
48+
value: '"roleDefinitionName": "Storage Blob Data Contributor"'
49+
uid: 60f1639b
50+
- task: RunCommand@1
51+
environment:
52+
type: az-cli
53+
outputValidationRules:
54+
- operator: contains
55+
value: '"roleDefinitionName": "Storage Blob Data Reader"'
56+
uid: 8cdad632

articles/advisor/advisor-release-notes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,19 @@ description: A description of what's new and changed in Azure Advisor
44
ms.topic: reference
55
ms.date: 11/02/2023
66
---
7+
78
# What's new in Azure Advisor?
89

910
Learn what's new in the service. These items might be release notes, videos, blog posts, and other types of information. Bookmark this page to stay up to date with the service.
1011

12+
## March 2024
13+
14+
### Well-Architected Framework (WAF) assessments & recommendations
15+
16+
The Well-Architected Framework (WAF) assessment provides a curated view of a workload’s architecture. Now you can take the WAF assessment and manage recommendations on Azure Advisor to improve resiliency, security, cost, operational excellence, and performance efficiency. As a part of this release, we're announcing two key WAF assessments - [Mission Critical | Well-Architected Review](/assessments/23513bdb-e8a2-4f0b-8b6b-191ee1f52d34/) and [Azure Well-Architected Review](/assessments/azure-architecture-review/).
17+
18+
To get started, visit [Use Azure WAF assessments](/azure/advisor/advisor-assessments).
19+
1120
## November 2023
1221

1322
### ZRS recommendations for Azure Disks

articles/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,12 @@ Choose from the following Document Intelligence models and analyze and extract d
5757
> - The [prebuilt-receipt](../concept-receipt.md) model extracts key information from printed and handwritten sales receipts.
5858
>
5959
> - The [prebuilt-idDocument](../concept-id-document.md) model extracts key information from US drivers licenses, international passport biographical pages, US state IDs, social security cards, and permanent resident cards.
60+
::: moniker-end
6061

62+
::: moniker range="doc-intel-3.1.0 || doc-intel-3.0.0"
63+
> [!div class="checklist"]
64+
>
6165
> - The [prebuilt-businessCard](../concept-business-card.md) model extracts key information and contact details from business card images.
62-
6366
::: moniker-end
6467

6568
::: zone pivot="programming-language-csharp"

articles/ai-services/openai/api-version-deprecation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.custom:
1414

1515
# Azure OpenAI API preview lifecycle
1616

17-
This article is to help you understand the support lifecycle for the Azure OpenAI API previews. New preview APIs target a monthly release cadence. Post April 2, 2024, the latest three preview APIs will remain supported while older APIs will no longer be supported.
17+
This article is to help you understand the support lifecycle for the Azure OpenAI API previews. New preview APIs target a monthly release cadence. After July 1, 2024, the latest three preview APIs will remain supported while older APIs will no longer be supported unless support is explictly indicated.
1818

1919
> [!NOTE]
2020
> The `2023-06-01-preview` API will remain supported at this time, as `DALL-E 2` is only available in this API version. `DALL-E 3` is supported in the latest API releases. The `2023-10-01-preview` API will also remain supported at this time.

articles/ai-services/openai/concepts/content-filter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ main().catch((err) => {
640640
$openai = @{
641641
api_key = $Env:AZURE_OPENAI_API_KEY
642642
api_base = $Env:AZURE_OPENAI_ENDPOINT # your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
643-
api_version = '2023-10-01-preview' # this may change in the future
643+
api_version = '2024-03-01-preview' # this may change in the future
644644
name = 'YOUR-DEPLOYMENT-NAME-HERE' #This will correspond to the custom name you chose for your deployment when you deployed a model.
645645
}
646646

articles/ai-services/openai/how-to/embeddings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To obtain an embedding vector for a piece of text, we make a request to the embe
2323

2424
# [console](#tab/console)
2525
```console
26-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/embeddings?api-version=2023-05-15\
26+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/embeddings?api-version=2024-02-01\
2727
-H 'Content-Type: application/json' \
2828
-H 'api-key: YOUR_API_KEY' \
2929
-d '{"input": "Sample Document goes here"}'
@@ -37,7 +37,7 @@ from openai import AzureOpenAI
3737

3838
client = AzureOpenAI(
3939
api_key = os.getenv("AZURE_OPENAI_API_KEY"),
40-
api_version = "2023-05-15",
40+
api_version = "2024-02-01",
4141
azure_endpoint =os.getenv("AZURE_OPENAI_ENDPOINT")
4242
)
4343

@@ -59,7 +59,7 @@ import openai
5959
openai.api_type = "azure"
6060
openai.api_key = YOUR_API_KEY
6161
openai.api_base = "https://YOUR_RESOURCE_NAME.openai.azure.com"
62-
openai.api_version = "2023-05-15"
62+
openai.api_version = "2024-02-01"
6363

6464
response = openai.Embedding.create(
6565
input="Your text string goes here",
@@ -101,7 +101,7 @@ foreach (float item in returnValue.Value.Data[0].Embedding.ToArray())
101101
$openai = @{
102102
api_key = $Env:AZURE_OPENAI_API_KEY
103103
api_base = $Env:AZURE_OPENAI_ENDPOINT # your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
104-
api_version = '2023-05-15' # this may change in the future
104+
api_version = '2024-02-01' # this may change in the future
105105
name = 'YOUR-DEPLOYMENT-NAME-HERE' #This will correspond to the custom name you chose for your deployment when you deployed a model.
106106
}
107107

articles/ai-services/openai/how-to/function-calling.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ Parallel function calls are supported with:
3131
### Supported models
3232

3333
* `gpt-35-turbo` (1106)
34-
* `gpt-4` (1106-preview)
34+
* `gpt-35-turbo` (0125)
35+
* `gpt-4` (1106-Preview)
36+
* `gpt-4` (0125-Preview)
3537

36-
### Supported API versions
38+
### API support
3739

38-
* [`2023-12-01-preview`](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-12-01-preview/inference.json)
40+
Support for parallel function was first added in API version [`2023-12-01-preview`](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-12-01-preview/inference.json)
3941

4042
Parallel function calls allow you to perform multiple function calls together, allowing for parallel execution and retrieval of results. This reduces the number of calls to the API that need to be made and can improve overall performance.
4143

@@ -58,7 +60,7 @@ import json
5860
client = AzureOpenAI(
5961
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
6062
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
61-
api_version="2023-12-01-preview"
63+
api_version="2024-03-01-preview"
6264
)
6365

6466

articles/ai-services/openai/how-to/json-mode.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ JSON mode is only currently supported with the following models:
2323

2424
### Supported models
2525

26-
- `gpt-4-1106-preview` ([region availability](../concepts/models.md#gpt-4-and-gpt-4-turbo-preview-model-availability))
27-
- `gpt-35-turbo-1106` ([region availability)](../concepts/models.md#gpt-35-turbo-model-availability))
26+
* `gpt-35-turbo` (1106)
27+
* `gpt-35-turbo` (0125)
28+
* `gpt-4` (1106-Preview)
29+
* `gpt-4` (0125-Preview)
2830

29-
### API version
31+
### API support
3032

31-
- `2023-12-01-preview`
33+
Support for JSON mode was first added in API version [`2023-12-01-preview`](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-12-01-preview/inference.json)
3234

3335
## Example
3436

@@ -41,11 +43,11 @@ from openai import AzureOpenAI
4143
client = AzureOpenAI(
4244
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
4345
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
44-
api_version="2023-12-01-preview"
46+
api_version="2024-03-01-preview"
4547
)
4648

4749
response = client.chat.completions.create(
48-
model="gpt-4-1106-preview", # Model = should match the deployment name you chose for your 1106-preview model deployment
50+
model="gpt-4-0125-Preview", # Model = should match the deployment name you chose for your 0125-Preview model deployment
4951
response_format={ "type": "json_object" },
5052
messages=[
5153
{"role": "system", "content": "You are a helpful assistant designed to output JSON."},
@@ -74,7 +76,7 @@ because they plan to use the output for further scripting.
7476
$openai = @{
7577
api_key = $Env:AZURE_OPENAI_API_KEY
7678
api_base = $Env:AZURE_OPENAI_ENDPOINT # like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
77-
api_version = '2023-12-01-preview' # may change in the future
79+
api_version = '2024-03-01-preview' # may change in the future
7880
name = 'YOUR-DEPLOYMENT-NAME-HERE' # name you chose for your deployment
7981
}
8082

articles/ai-services/openai/how-to/migration.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ from openai import AzureOpenAI
7070
client = AzureOpenAI(
7171
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
7272
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
73-
api_version="2023-05-15"
73+
api_version="2024-02-01"
7474
)
7575

7676
response = client.chat.completions.create(
@@ -98,7 +98,7 @@ import openai
9898
openai.api_type = "azure"
9999
openai.api_base = os.getenv("AZURE_OPENAI_ENDPOINT")
100100
openai.api_key = os.getenv("AZURE_OPENAI_API_KEY")
101-
openai.api_version = "2023-05-15"
101+
openai.api_version = "2024-02-01"
102102

103103
response = openai.ChatCompletion.create(
104104
engine="gpt-35-turbo", # engine = "deployment_name".
@@ -126,7 +126,7 @@ from openai import AzureOpenAI
126126

127127
client = AzureOpenAI(
128128
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
129-
api_version="2023-12-01-preview",
129+
api_version="2024-02-01",
130130
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
131131
)
132132

@@ -148,7 +148,7 @@ import openai
148148
openai.api_key = os.getenv("AZURE_OPENAI_API_KEY")
149149
openai.api_base = os.getenv("AZURE_OPENAI_ENDPOINT") # your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
150150
openai.api_type = 'azure'
151-
openai.api_version = '2023-05-15' # this might change in the future
151+
openai.api_version = '2024-02-01' # this might change in the future
152152

153153
deployment_name='REPLACE_WITH_YOUR_DEPLOYMENT_NAME' #This will correspond to the custom name you chose for your deployment when you deployed a model.
154154

@@ -172,7 +172,7 @@ from openai import AzureOpenAI
172172

173173
client = AzureOpenAI(
174174
api_key = os.getenv("AZURE_OPENAI_API_KEY"),
175-
api_version = "2023-05-15",
175+
api_version = "2024-02-01",
176176
azure_endpoint =os.getenv("AZURE_OPENAI_ENDPOINT")
177177
)
178178

@@ -194,7 +194,7 @@ import openai
194194
openai.api_type = "azure"
195195
openai.api_key = YOUR_API_KEY
196196
openai.api_base = "https://YOUR_RESOURCE_NAME.openai.azure.com"
197-
openai.api_version = "2023-05-15"
197+
openai.api_version = "2024-02-01"
198198

199199
response = openai.Embedding.create(
200200
input="Your text string goes here",
@@ -218,7 +218,7 @@ from openai import AsyncAzureOpenAI
218218
async def main():
219219
client = AsyncAzureOpenAI(
220220
api_key = os.getenv("AZURE_OPENAI_API_KEY"),
221-
api_version = "2023-12-01-preview",
221+
api_version = "2024-02-01",
222222
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
223223
)
224224
response = await client.chat.completions.create(model="gpt-35-turbo", messages=[{"role": "user", "content": "Hello world"}])
@@ -236,7 +236,7 @@ from openai import AzureOpenAI
236236

237237
token_provider = get_bearer_token_provider(DefaultAzureCredential(), "https://cognitiveservices.azure.com/.default")
238238

239-
api_version = "2023-12-01-preview"
239+
api_version = "2024-02-01"
240240
endpoint = "https://my-resource.openai.azure.com"
241241

242242
client = AzureOpenAI(

0 commit comments

Comments
 (0)