Skip to content

Commit ff8cf92

Browse files
committed
Merge branch 'main' into patch-21
2 parents 06bff45 + 0aa68e1 commit ff8cf92

File tree

238 files changed

+1456
-1299
lines changed

Some content is hidden

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

238 files changed

+1456
-1299
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,11 @@
10651065
"redirect_url": "/azure/container-instances/container-instances-resource-and-quota-limits",
10661066
"redirect_document_id": false
10671067
},
1068+
{
1069+
"source_path_from_root": "/articles/container-instances/container-instances-region-availability.md",
1070+
"redirect_url": "/azure/container-instances/container-instances-resource-and-quota-limits",
1071+
"redirect_document_id": false
1072+
},
10681073
{
10691074
"source_path_from_root": "/articles/cassandra-managed-instance/compare-cosmosdb-managed-instance.md",
10701075
"redirect_url": "/azure/managed-instance-apache-cassandra/compare-cosmosdb-managed-instance",

articles/active-directory-b2c/custom-policy-developer-notes.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,18 @@ Azure Active Directory B2C [user flows and custom policies](user-flow-overview.m
3131
- Support requests for public preview features can be submitted through regular support channels.
3232

3333
## User flows
34-
3534
|Feature |User flow |Custom policy |Notes |
3635
|---------|:---------:|:---------:|---------|
3736
| [Sign-up and sign-in](add-sign-up-and-sign-in-policy.md) with email and password. | GA | GA| |
3837
| [Sign-up and sign-in](add-sign-up-and-sign-in-policy.md) with username and password.| GA | GA | |
3938
| [Profile editing flow](add-profile-editing-policy.md) | GA | GA | |
4039
| [Self-Service password reset](add-password-reset-policy.md) | GA| GA| |
4140
| [Force password reset](force-password-reset.md) | GA | NA | |
42-
| [Phone sign-up and sign-in](phone-authentication-user-flows.md) | GA | GA | |
43-
| [Conditional Access and Identity Protection](conditional-access-user-flow.md) | GA | GA | Not available for SAML applications |
41+
| [Self-Service password reset](add-password-reset-policy.md) | GA| GA| Available in China cloud, but only for custom policies.
42+
| [Force password reset](force-password-reset.md) | GA | GA | Available in China cloud, but only for custom policies. |
43+
| [Phone sign-up and sign-in](phone-authentication-user-flows.md) | GA | GA | Available in China cloud, but only for custom policies. |
4444
| [Smart lockout](threat-management.md) | GA | GA | |
45+
| [Conditional Access and Identity Protection](conditional-access-user-flow.md) | GA | GA | Not available for SAML applications. Limited CA features are available in China cloud. Identity Protection is not available in China cloud. |
4546
| [CAPTCHA](add-captcha.md) | Preview | Preview | You can enable it during sign-up or sign-in for Local accounts. |
4647

4748
## OAuth 2.0 application authorization flows
@@ -86,15 +87,15 @@ The following table summarizes the Security Assertion Markup Language (SAML) app
8687

8788
|Feature |User flow |Custom policy |Notes |
8889
|---------|:---------:|:---------:|---------|
89-
| [Multi-language support](localization.md)| GA | GA | |
90-
| [Custom domains](custom-domain.md)| GA | GA | |
90+
| [Multi-language support](localization.md)| GA | GA | Available in China cloud, but only for custom policies. |
91+
| [Custom domains](custom-domain.md)| GA | GA | Available in China cloud, but only for custom policies. |
9192
| [Custom email verification](custom-email-mailjet.md) | NA | GA| |
9293
| [Customize the user interface with built-in templates](customize-ui.md) | GA| GA| |
9394
| [Customize the user interface with custom templates](customize-ui-with-html.md) | GA| GA| By using HTML templates. |
94-
| [Page layout version](page-layout.md) | GA | GA | |
95-
| [JavaScript](javascript-and-page-layout.md) | GA | GA | |
95+
| [Page layout version](page-layout.md) | GA | GA | Available in China cloud, but only for custom policies. |
96+
| [JavaScript](javascript-and-page-layout.md) | GA | GA | Available in China cloud, but only for custom policies. |
9697
| [Embedded sign-in experience](embedded-login.md) | NA | Preview| By using the inline frame element `<iframe>`. |
97-
| [Password complexity](password-complexity.md) | GA | GA | |
98+
| [Password complexity](password-complexity.md) | GA | GA | Available in China cloud, but only for custom policies. |
9899
| [Disable email verification](disable-email-verification.md) | GA| GA| Not recommended for production environments. Disabling email verification in the sign-up process may lead to spam. |
99100

100101

@@ -106,7 +107,7 @@ The following table summarizes the Security Assertion Markup Language (SAML) app
106107
|---------|:---------:|:---------:|---------|
107108
|[AD FS](identity-provider-adfs.md) | NA | GA | |
108109
|[Amazon](identity-provider-amazon.md) | GA | GA | |
109-
|[Apple](identity-provider-apple-id.md) | GA | GA | |
110+
|[Apple](identity-provider-apple-id.md) | GA | GA | Available in China cloud, but only for custom policies. |
110111
|[Microsoft Entra ID (Single-tenant)](identity-provider-azure-ad-single-tenant.md) | GA | GA | |
111112
|[Microsoft Entra ID (multitenant)](identity-provider-azure-ad-multi-tenant.md) | NA | GA | |
112113
|[Azure AD B2C](identity-provider-azure-ad-b2c.md) | GA | GA | |
@@ -121,7 +122,7 @@ The following table summarizes the Security Assertion Markup Language (SAML) app
121122
|[Salesforce](identity-provider-salesforce.md) | GA | GA | |
122123
|[Salesforce (SAML protocol)](identity-provider-salesforce-saml.md) | NA | GA | |
123124
|[Twitter](identity-provider-twitter.md) | GA | GA | |
124-
|[WeChat](identity-provider-wechat.md) | Preview | GA | |
125+
|[WeChat](identity-provider-wechat.md) | Preview | GA | Available in China cloud, but only for custom policies. |
125126
|[Weibo](identity-provider-weibo.md) | Preview | GA | |
126127

127128
## Generic identity providers
@@ -153,18 +154,18 @@ The following table summarizes the Security Assertion Markup Language (SAML) app
153154

154155
| Feature | Custom policy | Notes |
155156
| ------- | :--: | ----- |
156-
| [Default SSO session provider](custom-policy-reference-sso.md#defaultssosessionprovider) | GA | |
157-
| [External login session provider](custom-policy-reference-sso.md#externalloginssosessionprovider) | GA | |
158-
| [SAML SSO session provider](custom-policy-reference-sso.md#samlssosessionprovider) | GA | |
159-
| [OAuth SSO Session Provider](custom-policy-reference-sso.md#oauthssosessionprovider) | GA| |
157+
| [Default SSO session provider](custom-policy-reference-sso.md#defaultssosessionprovider) | GA | Available in China cloud, but only for custom policies. |
158+
| [External login session provider](custom-policy-reference-sso.md#externalloginssosessionprovider) | GA | Available in China cloud, but only for custom policies. |
159+
| [SAML SSO session provider](custom-policy-reference-sso.md#samlssosessionprovider) | GA | Available in China cloud, but only for custom policies. |
160+
| [OAuth SSO Session Provider](custom-policy-reference-sso.md#oauthssosessionprovider) | GA| Available in China cloud, but only for custom policies. |
160161

161162

162163
### Components
163164

164165
| Feature | Custom policy | Notes |
165166
| ------- | :--: | ----- |
166167
| [MFA using time-based one-time password (TOTP) with authenticator apps](multi-factor-authentication.md#verification-methods) | GA | Users can use any authenticator app that supports TOTP verification, such as the [Microsoft Authenticator app](https://www.microsoft.com/security/mobile-authenticator-app).|
167-
| [Phone factor authentication](phone-factor-technical-profile.md) | GA | |
168+
| [Phone factor authentication](phone-factor-technical-profile.md) | GA | Available in China cloud, but only for custom policies. |
168169
| [Microsoft Entra multifactor authentication authentication](multi-factor-auth-technical-profile.md) | GA | |
169170
| [One-time password](one-time-password-technical-profile.md) | GA | |
170171
| [Microsoft Entra ID](active-directory-technical-profile.md) as local directory | GA | |

articles/ai-services/cognitive-services-virtual-networks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: azure-ai-services
99
ms.custom: devx-track-azurepowershell, devx-track-azurecli
1010
ms.topic: how-to
11-
ms.date: 03/25/2024
11+
ms.date: 04/05/2024
1212
ms.author: aahi
1313
---
1414

@@ -60,6 +60,8 @@ Virtual networks are supported in [regions where Azure AI services are available
6060
> - `CognitiveServicesManagement`
6161
> - `CognitiveServicesFrontEnd`
6262
> - `Storage` (Speech Studio only)
63+
>
64+
> For information on configuring Azure AI Studio, see the [Azure AI Studio documentation](../ai-studio/how-to/configure-private-link.md).
6365
6466
## Change the default network access rule
6567

articles/ai-services/openai/how-to/reproducible-output.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: 'How to generate reproducible output with Azure OpenAI Service'
33
titleSuffix: Azure OpenAI
4-
description: Learn how to generate reproducible output (preview) with Azure OpenAI Service
4+
description: Learn how to generate reproducible output (preview) with Azure OpenAI Service.
55
services: cognitive-services
66
manager: nitinme
77
ms.service: azure-ai-openai
88
ms.topic: how-to
9-
ms.date: 11/17/2023
9+
ms.date: 04/09/2024
1010
author: mrbullwinkle
1111
ms.author: mbullwin
1212
recommendations: false
@@ -15,20 +15,22 @@ recommendations: false
1515

1616
# Learn how to use reproducible output (preview)
1717

18-
By default if you ask an Azure OpenAI Chat Completion model the same question multiple times you are likely to get a different response. The responses are therefore considered to be non-deterministic. Reproducible output is a new preview feature that allows you to selectively change the default behavior towards producing more deterministic outputs.
18+
By default if you ask an Azure OpenAI Chat Completion model the same question multiple times you're likely to get a different response. The responses are therefore considered to be non-deterministic. Reproducible output is a new preview feature that allows you to selectively change the default behavior to help product more deterministic outputs.
1919

2020
## Reproducible output support
2121

2222
Reproducible output is only currently supported with the following:
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) - [region availability](../concepts/models.md#gpt-35-turbo-model-availability)
27+
* `gpt-35-turbo` (0125) - [region availability](../concepts/models.md#gpt-35-turbo-model-availability)
28+
* `gpt-4` (1106-Preview) - [region availability](../concepts/models.md#gpt-4-and-gpt-4-turbo-preview-model-availability)
29+
* `gpt-4` (0125-Preview) - [region availability](../concepts/models.md#gpt-4-and-gpt-4-turbo-preview-model-availability)
2830

2931
### API Version
3032

31-
- `2023-12-01-preview`
33+
Support for reproducible output 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

@@ -43,14 +45,14 @@ from openai import AzureOpenAI
4345
client = AzureOpenAI(
4446
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
4547
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
46-
api_version="2023-12-01-preview"
48+
api_version="2024-02-01"
4749
)
4850

4951
for i in range(3):
5052
print(f'Story Version {i + 1}\n---')
5153

5254
response = client.chat.completions.create(
53-
model="gpt-4-1106-preview", # Model = should match the deployment name you chose for your 1106-preview model deployment
55+
model="gpt-35-turbo-0125", # Model = should match the deployment name you chose for your 0125-preview model deployment
5456
#seed=42,
5557
temperature=0.7,
5658
max_tokens =200,
@@ -72,7 +74,7 @@ for i in range(3):
7274
$openai = @{
7375
api_key = $Env:AZURE_OPENAI_API_KEY
7476
api_base = $Env:AZURE_OPENAI_ENDPOINT # like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
75-
api_version = '2023-12-01-preview' # may change in the future
77+
api_version = '2024-02-01' # may change in the future
7678
name = 'YOUR-DEPLOYMENT-NAME-HERE' # name you chose for your deployment
7779
}
7880
@@ -155,14 +157,14 @@ from openai import AzureOpenAI
155157
client = AzureOpenAI(
156158
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
157159
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
158-
api_version="2023-12-01-preview"
160+
api_version="2024-02-01"
159161
)
160162

161163
for i in range(3):
162164
print(f'Story Version {i + 1}\n---')
163165

164166
response = client.chat.completions.create(
165-
model="gpt-4-1106-preview", # Model = should match the deployment name you chose for your 1106-preview model deployment
167+
model="gpt-35-turbo-0125", # Model = should match the deployment name you chose for your 0125-preview model deployment
166168
seed=42,
167169
temperature=0.7,
168170
max_tokens =200,
@@ -184,7 +186,7 @@ for i in range(3):
184186
$openai = @{
185187
api_key = $Env:AZURE_OPENAI_API_KEY
186188
api_base = $Env:AZURE_OPENAI_ENDPOINT # like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
187-
api_version = '2023-12-01-preview' # may change in the future
189+
api_version = '2024-02-01' # may change in the future
188190
name = 'YOUR-DEPLOYMENT-NAME-HERE' # name you chose for your deployment
189191
}
190192
@@ -250,7 +252,10 @@ Matter coalesced into the simplest elements, hydrogen and helium, which later fo
250252
---
251253
```
252254

253-
By using the same `seed` parameter of 42 for each of our three requests we're able to produce much more consistent (in this case identical) results.
255+
By using the same `seed` parameter of 42 for each of our three requests, while keeping all other parameters the same, we're able to produce much more consistent results.
256+
257+
> [!IMPORTANT]
258+
> Determinism is not guaranteed with reproducible output. Even in cases where the seed parameter and `system_fingerprint` are the same across API calls it is not currently uncommon to still observe a degree of response variability.
254259
255260
## Parameter details
256261

articles/ai-services/openai/how-to/use-your-data-securely.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,15 @@ When using the API, pass the `filter` parameter in each API request. For example
103103
* `group_id1, group_id2` are groups attributed to the logged in user. The client application can retrieve and cache users' groups.
104104

105105

106-
## Resources configuration
106+
## Resource configuration
107107

108108
Use the following sections to configure your resources for optimal secure usage. Even if you plan to only secure part of your resources, you still need to follow all the steps below.
109109

110110
This article describes network settings related to disabling public network for Azure OpenAI resources, Azure AI search resources, and storage accounts. Using selected networks with IP rules is not supported, because the services' IP addresses are dynamic.
111111

112+
> [!TIP]
113+
> You can use the bash script available on [GitHub](https://github.com/microsoft/sample-app-aoai-chatGPT/blob/main/scripts/validate-oyd-vnet.sh) to validate your setup, and determine if all of the requirements listed here are being met.
114+
112115
## Create resource group
113116

114117
Create a resource group, so you can organize all the relevant resources. The resources in the resource group include but are not limited to:

articles/ai-services/speech-service/whisper-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Whisper Model via Azure AI Speech might be best for:
6161

6262
Regional support is another consideration.
6363
- The Whisper model via Azure OpenAI Service is available in the following regions: EastUS 2, India South, North Central, Norway East, Sweden Central, and West Europe.
64-
- The Whisper model via Azure AI Speech is available in the following regions: Australia East, Central US, East US, North Central US, South Central US, Southeast Asia, and West Europe.
64+
- The Whisper model via Azure AI Speech is available in the following regions: Australia East, East US, North Central US, South Central US, Southeast Asia, UK South, and West Europe.
6565

6666
## Next steps
6767

0 commit comments

Comments
 (0)