Skip to content

Commit df4229a

Browse files
authored
Merge pull request #272483 from MicrosoftDocs/main
4/17/2024 AM Publish
2 parents 0e6941e + 11cc169 commit df4229a

File tree

105 files changed

+980
-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.

105 files changed

+980
-531
lines changed

articles/ai-services/speech-service/includes/language-support/pronunciation-assessment.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ ms.author: eur
1212
|Arabic (Saudi Arabia)|`ar-SA` |
1313
|Chinese (Cantonese, Traditional)|`zh-HK`<sup>1</sup>|
1414
|Chinese (Mandarin, Simplified)|`zh-CN`|
15-
|Dutch (Netherlands)|`nl-NL`<sup>1</sup>|
15+
|Chinese (Taiwanese Mandarin, Traditional)|`zh-TW`<sup>1</sup>|
16+
|Dutch (Netherlands)|`nl-NL`|
1617
|English (Australia)|`en-AU`|
1718
|English (Canada)|`en-CA` |
1819
|English (India)|`en-IN` |
1920
|English (United Kingdom)|`en-GB`|
2021
|English (United States)|`en-US`|
22+
|Finnish (Finland)|`fi-FI`<sup>1</sup>|
2123
|French (Canada)|`fr-CA`|
2224
|French (France)|`fr-FR`|
2325
|German (Germany)|`de-DE`|
@@ -27,6 +29,7 @@ ms.author: eur
2729
|Korean (Korea)|`ko-KR`|
2830
|Malay (Malaysia)|`ms-MY`|
2931
|Norwegian Bokmål (Norway)|`nb-NO`|
32+
|Polish (Poland)|`pl-PL`<sup>1</sup>|
3033
|Portuguese (Brazil)|`pt-BR`|
3134
|Portuguese (Portugal)|`pt-PT`<sup>1</sup>|
3235
|Russian (Russia)|`ru-RU`|

articles/ai-services/speech-service/language-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ With the cross-lingual feature, you can transfer your custom neural voice model
118118

119119
# [Pronunciation assessment](#tab/pronunciation-assessment)
120120

121-
The table in this section summarizes the 27 locales supported for pronunciation assessment, and each language is available on all [Speech to text regions](regions.md#speech-service). Latest update extends support from English to 26 more languages and quality enhancements to existing features, including accuracy, fluency and miscue assessment. You should specify the language that you're learning or practicing improving pronunciation. The default language is set as `en-US`. If you know your target learning language, [set the locale](how-to-pronunciation-assessment.md#get-pronunciation-assessment-results) accordingly. For example, if you're learning British English, you should specify the language as `en-GB`. If you're teaching a broader language, such as Spanish, and are uncertain about which locale to select, you can run various accent models (`es-ES`, `es-MX`) to determine the one that achieves the highest score to suit your specific scenario.
121+
The table in this section summarizes the 30 locales supported for pronunciation assessment, and each language is available on all [Speech to text regions](regions.md#speech-service). Latest update extends support from English to 29 more languages and quality enhancements to existing features, including accuracy, fluency and miscue assessment. You should specify the language that you're learning or practicing improving pronunciation. The default language is set as `en-US`. If you know your target learning language, [set the locale](how-to-pronunciation-assessment.md#get-pronunciation-assessment-results) accordingly. For example, if you're learning British English, you should specify the language as `en-GB`. If you're teaching a broader language, such as Spanish, and are uncertain about which locale to select, you can run various accent models (`es-ES`, `es-MX`) to determine the one that achieves the highest score to suit your specific scenario.
122122

123123
[!INCLUDE [Language support include](includes/language-support/pronunciation-assessment.md)]
124124

articles/ai-studio/how-to/prompt-flow-tools/prompt-flow-tools-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The following table provides an index of tools in prompt flow.
2929
| [Index Lookup](./index-lookup-tool.md) | Search a vector-based query for relevant results using one or more text queries. | [promptflow-vectordb](https://pypi.org/project/promptflow-vectordb/) |
3030
| [Vector Index Lookup](./vector-index-lookup-tool.md)<sup>1</sup> | Search text or a vector-based query from a vector index. | [promptflow-vectordb](https://pypi.org/project/promptflow-vectordb/) |
3131
| [Faiss Index Lookup](./faiss-index-lookup-tool.md)<sup>1</sup> | Search a vector-based query from the Faiss index file. | [promptflow-vectordb](https://pypi.org/project/promptflow-vectordb/) |
32-
| [Vector DB Lookup](./vector-db-lookup-tool.md)<sup>1</sup> For | Search a vector-based query from an existing vector database. | [promptflow-vectordb](https://pypi.org/project/promptflow-vectordb/) |
32+
| [Vector DB Lookup](./vector-db-lookup-tool.md)<sup>1</sup> | Search a vector-based query from an existing vector database. | [promptflow-vectordb](https://pypi.org/project/promptflow-vectordb/) |
3333

3434
<sup>1</sup> The Index Lookup tool replaces the three deprecated legacy index tools: Vector Index Lookup, Vector DB Lookup, and Faiss Index Lookup. If you have a flow that contains one of those tools, follow the [migration steps](./index-lookup-tool.md#migrate-from-legacy-tools-to-the-index-lookup-tool) to upgrade your flow.
3535

articles/ai-studio/reference/region-support.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ Azure AI Studio is currently available in preview in the following Azure regions
4747

4848
Azure AI Studio preview is currently not available in Azure Government regions or air-gap regions.
4949

50+
## Azure OpenAI
51+
52+
[!INCLUDE [OpenAI Quotas](../../ai-services/openai/includes/model-matrix/quota.md)]
53+
54+
For more information, see [Azure OpenAI quotas and limits](/azure/ai-services/openai/quotas-limits).
55+
5056
## Speech capabilities
5157

5258
[!INCLUDE [Limited AI services](../includes/limited-ai-services.md)]

articles/ai-studio/tutorials/deploy-copilot-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ You can see that the `chat_completion` function does the following:
548548
549549
Now, you improve the prompt used in the chat function and later evaluate how well the quality of the copilot responses improved.
550550
551-
You use the following evaluation dataset, which contains a bunch of example questions and answers. The evaluation dataset is located at `src/copilot_aisdk/system-message.jinja2` in the copilot sample repository.
551+
You use the following evaluation dataset, which contains a bunch of example questions and answers. The evaluation dataset is located at `src/tests/evaluation_dataset.jsonl` in the copilot sample repository.
552552
553553
```jsonl
554554
{"question": "Which tent is the most waterproof?", "truth": "The Alpine Explorer Tent has the highest rainfly waterproof rating at 3000m"}

articles/app-service/overview-managed-identity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,9 @@ The **IDENTITY_ENDPOINT** is a local URL from which your app can request tokens.
437437
> | resource | Query | The Microsoft Entra resource URI of the resource for which a token should be obtained. This could be one of the [Azure services that support Microsoft Entra authentication](../active-directory/managed-identities-azure-resources/services-support-managed-identities.md#azure-services-that-support-azure-ad-authentication) or any other resource URI. |
438438
> | api-version | Query | The version of the token API to be used. Use `2019-08-01`. |
439439
> | X-IDENTITY-HEADER | Header | The value of the IDENTITY_HEADER environment variable. This header is used to help mitigate server-side request forgery (SSRF) attacks. |
440-
> | client_id | Query | (Optional) The client ID of the user-assigned identity to be used. Cannot be used on a request that includes `principal_id`, `msi_res_id`, or `object_id`. If all ID parameters (`client_id`, `principal_id`, `object_id`, and `msi_res_id`) are omitted, the system-assigned identity is used. |
441-
> | principal_id | Query | (Optional) The principal ID of the user-assigned identity to be used. `object_id` is an alias that may be used instead. Cannot be used on a request that includes client_id, msi_res_id, or object_id. If all ID parameters (`client_id`, `principal_id`, `object_id`, and `msi_res_id`) are omitted, the system-assigned identity is used. |
442-
> | msi_res_id | Query | (Optional) The Azure resource ID of the user-assigned identity to be used. Cannot be used on a request that includes `principal_id`, `client_id`, or `object_id`. If all ID parameters (`client_id`, `principal_id`, `object_id`, and `msi_res_id`) are omitted, the system-assigned identity is used. |
440+
> | client_id | Query | (Optional) The client ID of the user-assigned identity to be used. Cannot be used on a request that includes `principal_id`, `mi_res_id`, or `object_id`. If all ID parameters (`client_id`, `principal_id`, `object_id`, and `mi_res_id`) are omitted, the system-assigned identity is used. |
441+
> | principal_id | Query | (Optional) The principal ID of the user-assigned identity to be used. `object_id` is an alias that may be used instead. Cannot be used on a request that includes client_id, mi_res_id, or object_id. If all ID parameters (`client_id`, `principal_id`, `object_id`, and `mi_res_id`) are omitted, the system-assigned identity is used. |
442+
> | mi_res_id | Query | (Optional) The Azure resource ID of the user-assigned identity to be used. Cannot be used on a request that includes `principal_id`, `client_id`, or `object_id`. If all ID parameters (`client_id`, `principal_id`, `object_id`, and `mi_res_id`) are omitted, the system-assigned identity is used. |
443443
444444
> [!IMPORTANT]
445445
> If you are attempting to obtain tokens for user-assigned identities, you must include one of the optional properties. Otherwise the token service will attempt to obtain a token for a system-assigned identity, which may or may not exist.

articles/app-service/tutorial-auth-aad.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,27 @@ Your apps are now configured. The frontend is now ready to access the backend wi
249249

250250
For information on how to configure the access token for other providers, see [Refresh identity provider tokens](configure-authentication-oauth-tokens.md#refresh-auth-tokens).
251251

252-
## 6. Frontend calls the authenticated backend
252+
## 6. Configure backend App Service to accept a token only from the frontend App Service
253+
254+
You should also configure the backend App Service to only accept a token from the frontend App Service. Not doing this may result in a "403: Forbidden error" when you pass the token from the frontend to the backend.
255+
256+
You can set this via the same Azure CLI process you used in the previous step.
257+
258+
1. Get the `appId` of the frontend App Service (you can get this on the "Authentication" blade of the frontend App Service).
259+
260+
1. Run the following Azure CLI, substituting the `<back-end-app-name>` and `<front-end-app-id>`.
261+
262+
```azurecli-interactive
263+
authSettings=$(az webapp auth show -g myAuthResourceGroup -n <back-end-app-name>)
264+
authSettings=$(echo "$authSettings" | jq '.properties' | jq '.identityProviders.azureActiveDirectory.validation.defaultAuthorizationPolicy.allowedApplications += ["<front-end-app-id>"]')
265+
az webapp auth set --resource-group myAuthResourceGroup --name <back-end-app-name> --body "$authSettings"
266+
267+
authSettings=$(az webapp auth show -g myAuthResourceGroup -n <back-end-app-name>)
268+
authSettings=$(echo "$authSettings" | jq '.properties' | jq '.identityProviders.azureActiveDirectory.validation.jwtClaimChecks += { "allowedClientApplications": ["<front-end-app-id>"]}')
269+
az webapp auth set --resource-group myAuthResourceGroup --name <back-end-app-name> --body "$authSettings"
270+
```
271+
272+
## 7. Frontend calls the authenticated backend
253273

254274
The frontend app needs to pass the user's authentication with the correct `user_impersonation` scope to the backend. The following steps review the code provided in the sample for this functionality.
255275

articles/azure-app-configuration/howto-geo-replication.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ You can specify one or more endpoints of a geo-replication-enabled App Configura
179179

180180
The automatically discovered replicas will be selected and used randomly. If you have a preference for specific replicas, you can explicitly specify their endpoints. This feature is enabled by default, but you can refer to the following sample code to disable it.
181181

182+
### [.NET](#tab/Dotnet)
183+
182184
Edit the call to the `AddAzureAppConfiguration` method, which is often found in the `program.cs` file of your application.
183185

184186
```csharp
@@ -197,6 +199,27 @@ configurationBuilder.AddAzureAppConfiguration(options =>
197199
> - `Microsoft.Azure.AppConfiguration.AspNetCore`
198200
> - `Microsoft.Azure.AppConfiguration.Functions.Worker`
199201
202+
### [Kubernetes](#tab/kubernetes)
203+
204+
Update the `AzureAppConfigurationProvider` resource of your Azure App Configuration Kubernetes Provider. Add a `replicaDiscoveryEnabled` property and set it to `false`.
205+
206+
``` yaml
207+
apiVersion: azconfig.io/v1
208+
kind: AzureAppConfigurationProvider
209+
metadata:
210+
name: appconfigurationprovider-sample
211+
spec:
212+
endpoint: <your-app-configuration-store-endpoint>
213+
replicaDiscoveryEnabled: false
214+
target:
215+
configMapName: configmap-created-by-appconfig-provider
216+
```
217+
218+
> [!NOTE]
219+
> The automatic replica discovery and failover support is available if you use version **1.3.0** or later of [Azure App Configuration Kubernetes Provider](./quickstart-azure-kubernetes-service.md).
220+
221+
---
222+
200223
## Next steps
201224
202225
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)