Skip to content

Commit 287726e

Browse files
committed
Merge branch 'main' into release-azure-policy-versioning
2 parents 09a4227 + f0e2aae commit 287726e

File tree

458 files changed

+6607
-16137
lines changed

Some content is hidden

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

458 files changed

+6607
-16137
lines changed

.openpublishing.redirection.json

Lines changed: 530 additions & 0 deletions
Large diffs are not rendered by default.

articles/ai-services/qnamaker/Overview/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ keywords: "qna maker, low code chat bots, multi-turn conversations"
1414
# What is QnA Maker?
1515

1616
> [!NOTE]
17-
> [Azure Open AI On Your Data](../../openai/concepts/use-your-data.md) utilizes large language models (LLMs) to produce similar results to QnA Maker. If you wish to migrate your QnA Maker project to Azure Open AI On Your Data, please check out our [guide](../How-To/migrate-to-openai.md).
17+
> [Azure OpenAI On Your Data](../../openai/concepts/use-your-data.md) utilizes large language models (LLMs) to produce similar results to QnA Maker. If you wish to migrate your QnA Maker project to Azure OpenAI On Your Data, please check out our [guide](../How-To/migrate-to-openai.md).
1818
1919
[!INCLUDE [Custom question answering](../includes/new-version.md)]
2020

articles/ai-services/speech-service/how-to-pronunciation-assessment.md

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,73 @@ For how to use Pronunciation Assessment in streaming mode in your own applicatio
8080
## Set configuration parameters
8181

8282
::: zone pivot="programming-language-go"
83+
8384
> [!NOTE]
8485
> Pronunciation assessment is not available with the Speech SDK for Go. You can read about the concepts in this guide. Select another programming language for your solution.
86+
87+
::: zone-end
88+
89+
In the `SpeechRecognizer`, you can specify the language to learn or practice improving pronunciation. The default locale is `en-US`. To learn how to specify the learning language for pronunciation assessment in your own application, you can use the following sample code.
90+
91+
::: zone pivot="programming-language-csharp"
92+
93+
```csharp
94+
var recognizer = new SpeechRecognizer(config, "en-US", audioInput);
95+
```
96+
97+
::: zone-end
98+
99+
::: zone pivot="programming-language-cpp"
100+
101+
```cpp
102+
auto recognizer = SpeechRecognizer::FromConfig(config, "en-US", audioConfig);
103+
```
104+
105+
::: zone-end
106+
107+
::: zone pivot="programming-language-java"
108+
109+
```Java
110+
SpeechRecognizer recognizer = new SpeechRecognizer(config, "en-US", audioInput);
111+
```
112+
85113
::: zone-end
86114

87-
In the `SpeechRecognizer`, you can specify the language to learn or practice improving pronunciation. The default locale is `en-US`. To learn how to specify the learning language for pronunciation assessment in your own application, see [sample code](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/speech_recognition_samples.cs#LL1086C13-L1086C98).
115+
::: zone pivot="programming-language-python"
116+
117+
```Python
118+
speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, language="en-US", audio_config=audio_config)
119+
```
120+
121+
::: zone-end
122+
123+
::: zone pivot="programming-language-javascript"
124+
125+
```JavaScript
126+
speechConfig.speechRecognitionLanguage = "en-US";
127+
```
128+
129+
::: zone-end
130+
131+
::: zone pivot="programming-language-objectivec"
132+
133+
```ObjectiveC
134+
SPXSpeechRecognizer* speechRecognizer = [[SPXSpeechRecognizer alloc] initWithSpeechConfiguration:speechConfig language:@"en-US" audioConfiguration:pronAudioSource];
135+
```
136+
137+
::: zone-end
138+
139+
::: zone pivot="programming-language-swift"
140+
141+
```swift
142+
let reco = try! SPXSpeechRecognizer(speechConfiguration: speechConfig, language: "en-US", audioConfiguration: audioInput)
143+
```
144+
145+
::: zone-end
146+
147+
::: zone pivot="programming-language-go"
148+
149+
::: zone-end
88150

89151
> [!TIP]
90152
> If you aren't sure which locale to set for a language that has multiple locales, try each locale separately. For instance, for Spanish, try `es-ES` and `es-MX`. Determine which locale scores higher for your scenario.

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ ms.author: eur
88

99
| Language | Locale (BCP-47) |
1010
|--|--|
11-
|Arabic (Egypt)|`ar-EG`<sup>1</sup> |
11+
|Arabic (Egypt)|`ar-EG` |
1212
|Arabic (Saudi Arabia)|`ar-SA` |
1313
|Catalan|`ca-ES`<sup>1</sup>|
1414
|Chinese (Cantonese, Traditional)|`zh-HK`<sup>1</sup>|
1515
|Chinese (Mandarin, Simplified)|`zh-CN`|
16-
|Chinese (Taiwanese Mandarin, Traditional)|`zh-TW`<sup>1</sup>|
16+
|Chinese (Taiwanese Mandarin, Traditional)|`zh-TW`|
1717
|Danish (Denmark)|`da-DK`<sup>1</sup>|
1818
|Dutch (Netherlands)|`nl-NL`|
1919
|English (Australia)|`en-AU`|
2020
|English (Canada)|`en-CA` |
2121
|English (India)|`en-IN` |
2222
|English (United Kingdom)|`en-GB`|
2323
|English (United States)|`en-US`|
24-
|Finnish (Finland)|`fi-FI`<sup>1</sup>|
24+
|Finnish (Finland)|`fi-FI`|
2525
|French (Canada)|`fr-CA`|
2626
|French (France)|`fr-FR`|
2727
|German (Germany)|`de-DE`|
@@ -31,14 +31,15 @@ ms.author: eur
3131
|Korean (Korea)|`ko-KR`|
3232
|Malay (Malaysia)|`ms-MY`|
3333
|Norwegian Bokmål (Norway)|`nb-NO`|
34-
|Polish (Poland)|`pl-PL`<sup>1</sup>|
34+
|Polish (Poland)|`pl-PL`|
3535
|Portuguese (Brazil)|`pt-BR`|
3636
|Portuguese (Portugal)|`pt-PT`|
3737
|Russian (Russia)|`ru-RU`|
3838
|Spanish (Mexico)|`es-MX` |
3939
|Spanish (Spain)|`es-ES` |
4040
|Swedish (Sweden)|`sv-SE`|
4141
|Tamil (India)|`ta-IN` |
42+
|Thai (Thailand)|`th-TH`<sup>1</sup> |
4243
|Vietnamese (Vietnam)|`vi-VN` |
4344

4445
<sup>1</sup> The language is in public preview for pronunciation assessment.

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 32 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 31 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. If you're interested in languages not listed in the following table, fill out this [intake form](https://aka.ms/speechpa/intake) for further assistance.
121+
The table in this section summarizes the 33 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 32 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. If you're interested in languages not listed in the following table, fill out this [intake form](https://aka.ms/speechpa/intake) for further assistance.
122122

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

articles/ai-studio/how-to/deploy-models-mistral.md

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ ms.custom: references_regions, build-2024
1818
[!INCLUDE [Feature preview](~/reusable-content/ce-skilling/azure/includes/ai-studio/includes/feature-preview.md)]
1919

2020
In this article, you learn how to use Azure AI Studio to deploy the Mistral family of models as serverless APIs with pay-as-you-go token-based billing.
21-
Mistral AI offers two categories of models in [Azure AI Studio](https://ai.azure.com):
21+
Mistral AI offers two categories of models in the [Azure AI Studio](https://ai.azure.com). These models are available in the [model catalog](model-catalog-overview.md):
2222

23-
* __Premium models__: Mistral Large and Mistral Small. These models are available as serverless APIs with pay-as-you-go token-based billing in the AI Studio model catalog.
24-
* __Open models__: Mixtral-8x7B-Instruct-v01, Mixtral-8x7B-v01, Mistral-7B-Instruct-v01, and Mistral-7B-v01. These models are also available in the AI Studio model catalog and can be deployed to managed compute in your own Azure subscription.
23+
* __Premium models__: Mistral Large and Mistral Small. These models can be deployed as serverless APIs with pay-as-you-go token-based billing.
24+
* __Open models__: Mixtral-8x7B-Instruct-v01, Mixtral-8x7B-v01, Mistral-7B-Instruct-v01, and Mistral-7B-v01. These models can be deployed to managed computes in your own Azure subscription.
2525

26-
You can browse the Mistral family of models in the [Model Catalog](model-catalog-overview.md) by filtering on the Mistral collection.
26+
You can browse the Mistral family of models in the model catalog by filtering on the Mistral collection.
2727

2828
## Mistral family of models
2929

@@ -61,10 +61,18 @@ Certain models in the model catalog can be deployed as a serverless API with pay
6161
### Prerequisites
6262

6363
- An Azure subscription with a valid payment method. Free or trial Azure subscriptions won't work. If you don't have an Azure subscription, create a [paid Azure account](https://azure.microsoft.com/pricing/purchase-options/pay-as-you-go) to begin.
64-
- An [Azure AI Studio hub](../how-to/create-azure-ai-resource.md).
64+
- An [AI Studio hub](../how-to/create-azure-ai-resource.md). The serverless API model deployment offering for eligible models in the Mistral family is only available with hubs created in these regions:
65+
66+
- East US
67+
- East US 2
68+
- North Central US
69+
- South Central US
70+
- West US
71+
- West US 3
72+
- Sweden Central
73+
74+
For a list of regions that are available for each of the models supporting serverless API endpoint deployments, see [Region availability for models in serverless API endpoints](deploy-models-serverless-availability.md).
6575

66-
> [!IMPORTANT]
67-
> The serverless API model deployment offering for eligible models in the Mistral family is only available in hubs created in the **East US 2** and **Sweden Central** regions.
6876
- An [Azure AI Studio project](../how-to/create-projects.md).
6977
- Azure role-based access controls (Azure RBAC) are used to grant access to operations in Azure AI Studio. To perform the steps in this article, your user account must be assigned the __Azure AI Developer role__ on the resource group. For more information on permissions, see [Role-based access control in Azure AI Studio](../concepts/rbac-ai-studio.md).
7078

@@ -93,7 +101,7 @@ To create a deployment:
93101

94102
:::image type="content" source="../media/deploy-monitor/mistral/mistral-large-deploy-pay-as-you-go.png" alt-text="A screenshot showing how to deploy a model as a serverless API." lightbox="../media/deploy-monitor/mistral/mistral-large-deploy-pay-as-you-go.png":::
95103

96-
1. Select the project in which you want to deploy your model. To deploy the Mistral model, your project must be in the *EastUS2* or *Sweden Central* region.
104+
1. Select the project in which you want to deploy your model. To use the serverless API model deployment offering, your project must belong to one of the regions listed in the [prerequisites](#prerequisites).
97105
1. In the deployment wizard, select the link to **Azure Marketplace Terms** to learn more about the terms of use.
98106
1. Select the **Pricing and terms** tab to learn about pricing for the selected model.
99107
1. Select the **Subscribe and Deploy** button. If this is your first time deploying the model in the project, you have to subscribe your project for the particular offering. This step requires that your account has the **Azure AI Developer role** permissions on the resource group, as listed in the prerequisites. Each project has its own subscription to the particular Azure Marketplace offering of the model, which allows you to control and monitor spending. Currently, you can have only one deployment for each model within a project.
@@ -125,15 +133,15 @@ You can consume Mistral family models by using the chat API.
125133

126134
For more information on using the APIs, see the [reference](#reference-for-mistral-family-of-models-deployed-as-a-service) section.
127135

128-
### Reference for Mistral family of models deployed as a service
136+
## Reference for Mistral family of models deployed as a service
129137

130138
Mistral models accept both the [Azure AI Model Inference API](../reference/reference-model-inference-api.md) on the route `/chat/completions` and the native [Mistral Chat API](#mistral-chat-api) on `/v1/chat/completions`.
131139

132140
### Azure AI Model Inference API
133141

134142
The [Azure AI Model Inference API](../reference/reference-model-inference-api.md) schema can be found in the [reference for Chat Completions](../reference/reference-model-inference-chat-completions.md) article and an [OpenAPI specification can be obtained from the endpoint itself](../reference/reference-model-inference-api.md?tabs=rest#getting-started).
135143

136-
#### Mistral Chat API
144+
### Mistral Chat API
137145

138146
Use the method `POST` to send the request to the `/v1/chat/completions` route:
139147

@@ -168,7 +176,7 @@ The `messages` object has the following fields:
168176
| `role` | `string` | The role of the message's author. One of `system`, `user`, or `assistant`. |
169177

170178

171-
#### Example
179+
#### Request example
172180

173181
__Body__
174182

@@ -234,7 +242,7 @@ The `logprobs` object is a dictionary with the following fields:
234242
| `tokens` | `array` of `string` | Selected tokens. |
235243
| `top_logprobs` | `array` of `dictionary` | Array of dictionary. In each dictionary, the key is the token and the value is the probability. |
236244

237-
#### Example
245+
#### Response example
238246

239247
The following JSON is an example response:
240248

@@ -261,15 +269,16 @@ The following JSON is an example response:
261269
}
262270
}
263271
```
272+
264273
#### More inference examples
265274

266-
| **Sample Type** | **Sample Notebook** |
267-
|----------------|----------------------------------------|
268-
| CLI using CURL and Python web requests | [webrequests.ipynb](https://aka.ms/mistral-large/webrequests-sample)|
269-
| OpenAI SDK (experimental) | [openaisdk.ipynb](https://aka.ms/mistral-large/openaisdk) |
270-
| LangChain | [langchain.ipynb](https://aka.ms/mistral-large/langchain-sample) |
271-
| Mistral AI | [mistralai.ipynb](https://aka.ms/mistral-large/mistralai-sample) |
272-
| LiteLLM | [litellm.ipynb](https://aka.ms/mistral-large/litellm-sample)
275+
| **Sample Type** | **Sample Notebook** |
276+
|----------------------------------------|----------------------------------------------------------------------|
277+
| CLI using CURL and Python web requests | [webrequests.ipynb](https://aka.ms/mistral-large/webrequests-sample) |
278+
| OpenAI SDK (experimental) | [openaisdk.ipynb](https://aka.ms/mistral-large/openaisdk) |
279+
| LangChain | [langchain.ipynb](https://aka.ms/mistral-large/langchain-sample) |
280+
| Mistral AI | [mistralai.ipynb](https://aka.ms/mistral-large/mistralai-sample) |
281+
| LiteLLM | [litellm.ipynb](https://aka.ms/mistral-large/litellm-sample) |
273282

274283
## Cost and quotas
275284

@@ -291,3 +300,4 @@ Models deployed as a serverless API with pay-as-you-go billing are protected by
291300

292301
- [What is Azure AI Studio?](../what-is-ai-studio.md)
293302
- [Azure AI FAQ article](../faq.yml)
303+
- [Region availability for models in serverless API endpoints](deploy-models-serverless-availability.md)

articles/app-service/overview-name-resolution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Your app uses DNS when making calls to dependent resources. Resources could be A
1616

1717
If you aren't integrating your app with a virtual network and custom DNS servers aren't configured, your app uses [Azure DNS](../virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances.md#azure-provided-name-resolution). If you integrate your app with a virtual network, your app uses the DNS configuration of the virtual network. The default for virtual network is also to use Azure DNS. Through the virtual network, it's also possible to link to [Azure DNS private zones](../dns/private-dns-overview.md) and use that for private endpoint resolution or private domain name resolution.
1818

19-
If you configured your virtual network with a list of custom DNS servers, name resolution uses these servers. If your virtual network is using custom DNS servers and you're using private endpoints, you should read [this article](../private-link/private-endpoint-dns.md) carefully. You also need to consider that your custom DNS servers are able to resolve any public DNS records used by your app. Your DNS configuration needs to either forward requests to a public DNS server, include a public DNS server like Azure DNS in the list of custom DNS servers or specify an alternative server at the app level.
19+
If you configured your virtual network with a list of custom DNS servers, name resolution in App Service will use up to five custom DNS servers. If your virtual network is using custom DNS servers and you're using private endpoints, you should read [this article](../private-link/private-endpoint-dns.md) carefully. You also need to consider that your custom DNS servers are able to resolve any public DNS records used by your app. Your DNS configuration needs to either forward requests to a public DNS server, include a public DNS server like Azure DNS in the list of custom DNS servers or specify an alternative server at the app level.
2020

2121
When your app needs to resolve a domain name using DNS, the app sends a name resolution request to all configured DNS servers. If the first server in the list returns a response within the timeout limit, you get the result returned immediately. If not, the app waits for the other servers to respond within the timeout period and evaluates the DNS server responses in the order you configured the servers. If none of the servers respond within the timeout and you configured retry, you repeat the process.
2222

0 commit comments

Comments
 (0)