Skip to content

Commit 5468872

Browse files
authored
Merge pull request #279242 from MicrosoftDocs/main
6/25/2024 PM Publish
2 parents 83735be + 1aa67ae commit 5468872

File tree

170 files changed

+1161
-531
lines changed

Some content is hidden

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

170 files changed

+1161
-531
lines changed

articles/ai-services/content-safety/includes/quickstarts/rest-quickstart-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ curl --location --request POST '<endpoint>/contentsafety/text:analyze?api-versio
3838
"text": "I hate you",
3939
"categories": [
4040
"Hate","Sexual","SelfHarm","Violence"
41-
]
41+
],
4242
"blocklistNames": [
4343
"string"
4444
],

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: mrbullwinkle
66
ms.author: mbullwin
77
ms.service: azure-ai-openai
88
ms.topic: conceptual
9-
ms.date: 11/06/2023
9+
ms.date: 06/25/2023
1010
ms.custom: template-concept, devx-track-python
1111
manager: nitinme
1212
---
@@ -70,10 +70,14 @@ The default content filtering configuration for the GPT model series is set to f
7070

7171
<sup>1</sup> For Azure OpenAI models, only customers who have been approved for modified content filtering have full content filtering control and can turn content filters off. Apply for modified content filters via this form: [Azure OpenAI Limited Access Review: Modified Content Filters](https://ncv.microsoft.com/uEfCgnITdR) For Azure Government customers, please apply for modified content filters via this form: [Azure Government - Request Modified Content Filtering for Azure OpenAI Service](https://aka.ms/AOAIGovModifyContentFilter).
7272

73-
This preview feature is available for the following Azure OpenAI models:
74-
* GPT model series (text)
75-
* GPT-4 Turbo Vision 2024-04-09 (multi-modal text/image)
76-
* DALL-E 2 and 3 (image)
73+
Configurable content filters for inputs (prompts) and outputs (completions) are available for the following Azure OpenAI models:
74+
75+
* GPT model series
76+
* GPT-4 Turbo Vision GA<sup>*</sup> (turbo-2024-04-09)
77+
* GPT-4o
78+
* DALL-E 2 and 3
79+
80+
<sup>*</sup>Only available for GPT-4 Turbo Vision GA, does not apply to GPT-4 Turbo Vision preview
7781

7882
Content filtering configurations are created within a Resource in Azure AI Studio, and can be associated with Deployments. [Learn more about configurability here](../how-to/content-filters.md).
7983

@@ -847,7 +851,7 @@ To enable Asynchronous Filter in Azure OpenAI Studio, follow the [Content filter
847851
|Status |GA |Public Preview |
848852
| Eligibility |All customers |Customers approved for modified content filtering |
849853
| How to enable | Enabled by default, no action needed |Customers approved for modified content filtering can configure it directly in Azure OpenAI Studio (as part of a content filtering configuration, applied at the deployment level) |
850-
|Modality and availability |Text; all GPT models |Text; all GPT models except gpt-4-vision |
854+
|Modality and availability |Text; all GPT models |Text; all GPT models |
851855
|Streaming experience |Content is buffered and returned in chunks |Zero latency (no buffering, filters run asynchronously) |
852856
|Content filtering signal |Immediate filtering signal |Delayed filtering signal (in up to ~1,000-character increments) |
853857
|Content filtering configurations |Supports default and any customer-defined filter setting (including optional models) |Supports default and any customer-defined filter setting (including optional models) |

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
2-
title: How to configure Azure OpenAI Service with managed identities
2+
title: How to configure Azure OpenAI Service with Microsoft Entra ID authentication
33
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: 04/03/2024
7+
ms.date: 06/25/2024
88
author: mrbullwinkle
99
ms.author: mbullwin
1010
recommendations: false
1111
ms.custom: devx-track-azurecli
1212
---
1313

14-
# How to configure Azure OpenAI Service with managed identities
14+
# How to configure Azure OpenAI Service with Microsoft Entra ID authentication
1515

1616
More complex security scenarios require Azure role-based access control (Azure RBAC). This document covers how to authenticate to your OpenAI resource using Microsoft Entra ID.
1717

articles/ai-services/openai/includes/chatgpt-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ dependencies {
110110
public static void main(String[] args) {
111111
String azureOpenaiKey = System.getenv("AZURE_OPENAI_API_KEY");;
112112
String endpoint = System.getenv("AZURE_OPENAI_ENDPOINT");;
113-
String deploymentOrModelId = "gpt-35-turbo";
113+
String deploymentOrModelId = "gpt-35-turbo"; //Change to match your deployment name
114114
115115
OpenAIClient client = new OpenAIClientBuilder()
116116
.endpoint(endpoint)

articles/ai-services/openai/includes/chatgpt-spring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.date: 11/27/2023
1717
Currently, access to this service is granted only by application. You can apply for access to Azure OpenAI Service by completing the form at [https://aka.ms/oai/access](https://aka.ms/oai/access?azure-portal=true).
1818
- The current version of the [Java Development Kit (JDK)](https://www.microsoft.com/openjdk)
1919
- The [Spring Boot CLI tool](https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started.html#getting-started.installing.cli)
20-
- An Azure OpenAI Service resource with the `gpt-35-turbo` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
20+
- An Azure OpenAI Service resource with the `gpt-35-turbo` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md). This example assumes that your deployment name matches the model name `gpt-35-turbo`
2121

2222
> [!div class="nextstepaction"]
2323
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=SPRING&Pillar=AOAI&Product=Chatgpt&Page=quickstart&Section=Prerequisites)

articles/ai-services/openai/whats-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ For more information, see the [deployment types guide](https://aka.ms/aoai/docs/
9898

9999
### DALL-E and GPT-4 Turbo Vision GA configurable content filters
100100

101-
Create custom content filters for your DALL-E 2 and 3 and GPT-4 Turbo with Vision GA (gpt-4-turbo-2024-04-09) deployments. [Content filtering](/azure/ai-services/openai/concepts/content-filter?tabs=warning%2Cpython-new#configurability-preview)
101+
Create custom content filters for your DALL-E 2 and 3, GPT-4 Turbo with Vision GA (gpt-4-turbo-2024-04-09) and GPT-4o deployments. [Content filtering](/azure/ai-services/openai/concepts/content-filter?tabs=warning%2Cpython-new#configurability-preview)
102102

103103
### Asynchronous Filter available for all Azure OpenAI customers
104104

articles/aks/app-routing-nginx-configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,3 +551,4 @@ Learn about monitoring the ingress-nginx controller metrics included with the ap
551551
[azure-dns-overview]: ../dns/dns-overview.md
552552
[az-keyvault-certificate-show]: /cli/azure/keyvault/certificate#az-keyvault-certificate-show
553553
[prometheus-in-grafana]: app-routing-nginx-prometheus.md
554+
[az-role-assignment-create]: /cli/azure/role/assignment#az-role-assignment-create

articles/aks/istio-upgrade.md

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ms.service: azure-kubernetes-service
66
ms.date: 05/04/2023
77
ms.author: shasb
88
author: shashankbarsin
9+
ms.custom: devx-track-azurecli
910
---
1011

1112
# Upgrade Istio-based service mesh add-on for Azure Kubernetes Service
@@ -20,27 +21,27 @@ Istio add-on allows upgrading the minor revision using [canary upgrade process][
2021

2122
If the cluster is currently using a supported minor revision of Istio, upgrades are only allowed one minor revision at a time. If the cluster is using an unsupported revision of Istio, you must upgrade to the lowest supported minor revision of Istio for that Kubernetes version. After that, upgrades can again be done one minor revision at a time.
2223

23-
The following example illustrates how to upgrade from revision `asm-1-18` to `asm-1-19`. The steps are the same for all minor upgrades.
24+
The following example illustrates how to upgrade from revision `asm-1-20` to `asm-1-21`. The steps are the same for all minor upgrades.
2425

2526
1. Use the [az aks mesh get-upgrades](/cli/azure/aks/mesh#az-aks-mesh-get-upgrades) command to check which revisions are available for the cluster as upgrade targets:
2627

27-
```bash
28+
```azurecli-interactive
2829
az aks mesh get-upgrades --resource-group $RESOURCE_GROUP --name $CLUSTER
2930
```
3031
3132
If you expect to see a newer revision not returned by this command, you may need to upgrade your AKS cluster first so that it's compatible with the newest revision.
3233
3334
1. If you've set up [mesh configuration][meshconfig] for the existing mesh revision on your cluster, you need to create a separate ConfigMap corresponding to the new revision in the `aks-istio-system` namespace **before initiating the canary upgrade** in the next step. This configuration is applicable the moment the new revision's control plane is deployed on cluster. More details can be found [here][meshconfig-canary-upgrade].
3435
35-
1. Initiate a canary upgrade from revision `asm-1-18` to `asm-1-19` using [az aks mesh upgrade start](/cli/azure/aks/mesh#az-aks-mesh-upgrade-start):
36+
1. Initiate a canary upgrade from revision `asm-1-20` to `asm-1-21` using [az aks mesh upgrade start](/cli/azure/aks/mesh/upgrade#az-aks-mesh-upgrade-start):
3637
37-
```bash
38-
az aks mesh upgrade start --resource-group $RESOURCE_GROUP --name $CLUSTER --revision asm-1-19
38+
```azurecli-interactive
39+
az aks mesh upgrade start --resource-group $RESOURCE_GROUP --name $CLUSTER --revision asm-1-21
3940
```
4041
41-
A canary upgrade means the 1.18 control plane is deployed alongside the 1.17 control plane. They continue to coexist until you either complete or roll back the upgrade.
42+
A canary upgrade means the 1.20 control plane is deployed alongside the 1.21 control plane. They continue to coexist until you either complete or roll back the upgrade.
4243
43-
1. Verify control plane pods corresponding to both `asm-1-18` and `asm-1-19` exist:
44+
1. Verify control plane pods corresponding to both `asm-1-20` and `asm-1-21` exist:
4445
4546
* Verify `istiod` pods:
4647
@@ -52,10 +53,10 @@ The following example illustrates how to upgrade from revision `asm-1-18` to `as
5253
5354
```
5455
NAME READY STATUS RESTARTS AGE
55-
istiod-asm-1-18-55fccf84c8-dbzlt 1/1 Running 0 58m
56-
istiod-asm-1-18-55fccf84c8-fg8zh 1/1 Running 0 58m
57-
istiod-asm-1-19-f85f46bf5-7rwg4 1/1 Running 0 51m
58-
istiod-asm-1-19-f85f46bf5-8p9qx 1/1 Running 0 51m
56+
istiod-asm-1-20-55fccf84c8-dbzlt 1/1 Running 0 58m
57+
istiod-asm-1-20-55fccf84c8-fg8zh 1/1 Running 0 58m
58+
istiod-asm-1-21-f85f46bf5-7rwg4 1/1 Running 0 51m
59+
istiod-asm-1-21-f85f46bf5-8p9qx 1/1 Running 0 51m
5960
```
6061
6162
* If ingress is enabled, verify ingress pods:
@@ -68,22 +69,22 @@ The following example illustrates how to upgrade from revision `asm-1-18` to `as
6869
6970
```
7071
NAME READY STATUS RESTARTS AGE
71-
aks-istio-ingressgateway-external-asm-1-18-58f889f99d-qkvq2 1/1 Running 0 59m
72-
aks-istio-ingressgateway-external-asm-1-18-58f889f99d-vhtd5 1/1 Running 0 58m
73-
aks-istio-ingressgateway-external-asm-1-19-7466f77bb9-ft9c8 1/1 Running 0 51m
74-
aks-istio-ingressgateway-external-asm-1-19-7466f77bb9-wcb6s 1/1 Running 0 51m
75-
aks-istio-ingressgateway-internal-asm-1-18-579c5d8d4b-4cc2l 1/1 Running 0 58m
76-
aks-istio-ingressgateway-internal-asm-1-18-579c5d8d4b-jjc7m 1/1 Running 0 59m
77-
aks-istio-ingressgateway-internal-asm-1-19-757d9b5545-g89s4 1/1 Running 0 51m
78-
aks-istio-ingressgateway-internal-asm-1-19-757d9b5545-krq9w 1/1 Running 0 51m
72+
aks-istio-ingressgateway-external-asm-1-20-58f889f99d-qkvq2 1/1 Running 0 59m
73+
aks-istio-ingressgateway-external-asm-1-20-58f889f99d-vhtd5 1/1 Running 0 58m
74+
aks-istio-ingressgateway-external-asm-1-21-7466f77bb9-ft9c8 1/1 Running 0 51m
75+
aks-istio-ingressgateway-external-asm-1-21-7466f77bb9-wcb6s 1/1 Running 0 51m
76+
aks-istio-ingressgateway-internal-asm-1-20-579c5d8d4b-4cc2l 1/1 Running 0 58m
77+
aks-istio-ingressgateway-internal-asm-1-20-579c5d8d4b-jjc7m 1/1 Running 0 59m
78+
aks-istio-ingressgateway-internal-asm-1-21-757d9b5545-g89s4 1/1 Running 0 51m
79+
aks-istio-ingressgateway-internal-asm-1-21-757d9b5545-krq9w 1/1 Running 0 51m
7980
```
8081
8182
Observe that ingress gateway pods of both revisions are deployed side-by-side. However, the service and its IP remain immutable.
8283
8384
1. Relabel the namespace so that any new pods get the Istio sidecar associated with the new revision and its control plane:
8485
8586
```bash
86-
kubectl label namespace default istio.io/rev=asm-1-19 --overwrite
87+
kubectl label namespace default istio.io/rev=asm-1-21 --overwrite
8788
```
8889
8990
Relabeling doesn't affect your workloads until they're restarted.
@@ -98,7 +99,7 @@ The following example illustrates how to upgrade from revision `asm-1-18` to `as
9899
99100
* **Complete the canary upgrade**: If you're satisfied that the workloads are all running in a healthy state as expected, you can complete the canary upgrade. Completion of the upgrade removes the previous revision's control plane and leaves behind the new revision's control plane on the cluster. Run the following command to complete the canary upgrade:
100101
101-
```bash
102+
```azurecli-interactive
102103
az aks mesh upgrade complete --resource-group $RESOURCE_GROUP --name $CLUSTER
103104
```
104105
@@ -107,7 +108,7 @@ The following example illustrates how to upgrade from revision `asm-1-18` to `as
107108
* Relabel the namespace to the previous revision:
108109
109110
```bash
110-
kubectl label namespace default istio.io/rev=asm-1-18 --overwrite
111+
kubectl label namespace default istio.io/rev=asm-1-20 --overwrite
111112
```
112113
113114
* Roll back the workloads to use the sidecar corresponding to the previous Istio revision by restarting these workloads again:
@@ -118,7 +119,7 @@ The following example illustrates how to upgrade from revision `asm-1-18` to `as
118119
119120
* Roll back the control plane to the previous revision:
120121
121-
```
122+
```azurecli-interactive
122123
az aks mesh upgrade rollback --resource-group $RESOURCE_GROUP --name $CLUSTER
123124
```
124125
@@ -147,8 +148,8 @@ Thus, during the canary upgrade, when two revisions exist simultaneously on the
147148
Example output:
148149
149150
```bash
150-
"image": "mcr.microsoft.com/oss/istio/proxyv2:1.18.2-distroless",
151-
"image": "mcr.microsoft.com/oss/istio/proxyv2:1.18.2-distroless"
151+
"image": "mcr.microsoft.com/oss/istio/proxyv2:1.20.6-distroless",
152+
"image": "mcr.microsoft.com/oss/istio/proxyv2:1.20.6-distroless"
152153
```
153154
154155
* Check the Istio proxy image version for all pods in a namespace:
@@ -162,7 +163,7 @@ Thus, during the canary upgrade, when two revisions exist simultaneously on the
162163
Example output:
163164
164165
```bash
165-
productpage-v1-979d4d9fc-p4764: docker.io/istio/examples-bookinfo-productpage-v1:1.18.0, mcr.microsoft.com/oss/istio/proxyv2:1.18.1-distroless
166+
productpage-v1-979d4d9fc-p4764: docker.io/istio/examples-bookinfo-productpage-v1:1.20.0, mcr.microsoft.com/oss/istio/proxyv2:1.20.6-distroless
166167
```
167168
168169
* To trigger reinjection, restart the workloads. For example:
@@ -182,11 +183,15 @@ Thus, during the canary upgrade, when two revisions exist simultaneously on the
182183
Example output:
183184
184185
```bash
185-
productpage-v1-979d4d9fc-p4764: docker.io/istio/examples-bookinfo-productpage-v1:1.18.0, mcr.microsoft.com/oss/istio/proxyv2:1.18.2-distroless
186+
productpage-v1-979d4d9fc-p4764: docker.io/istio/examples-bookinfo-productpage-v1:1.20.0, mcr.microsoft.com/oss/istio/proxyv2:1.20.7-distroless
186187
```
187188
189+
> [!NOTE]
190+
> In case of any issues encountered during upgrades, refer to [article on troubleshooting mesh revision upgrades][upgrade-istio-service-mesh-tsg]
191+
188192
[aks-release-notes]: https://github.com/Azure/AKS/releases
189193
[istio-canary-upstream]: https://istio.io/latest/docs/setup/upgrade/canary/
190194
[meshconfig]: ./istio-meshconfig.md
191195
[meshconfig-canary-upgrade]: ./istio-meshconfig.md#mesh-configuration-and-upgrades
196+
[upgrade-istio-service-mesh-tsg]: /troubleshoot/azure/azure-kubernetes/extensions/istio-add-on-minor-revision-upgrade
192197

0 commit comments

Comments
 (0)