Skip to content

Commit 4a965df

Browse files
committed
Merge branch 'main' into release-preview-new-mistral-models
2 parents 72191c8 + 1dc7c09 commit 4a965df

File tree

4 files changed

+62
-38
lines changed

4 files changed

+62
-38
lines changed

articles/ai-services/openai/how-to/use-blocklists.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Copy the cURL command below to a text editor and make the following changes:
4949
1. Optionally replace the value of the "description" field with a custom description.
5050

5151
```bash
52-
curl --location --request PUT 'https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiBlocklists/{raiBlocklistName}?api-version=2024-03-01-preview' \
52+
curl --location --request PUT 'https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiBlocklists/{raiBlocklistName}?api-version=2024-04-01-preview' \
5353
--header 'Authorization: Bearer {token}' \
5454
--header 'Content-Type: application/json' \
5555
--data-raw '{
@@ -72,10 +72,11 @@ To apply a **completion** blocklist to a content filter, use the following cURL
7272
1. Replace {accountName} with your resource name.
7373
1. Replace {raiPolicyName} with the name of your Content Filter
7474
1. Replace {token} with the token you got from the "Get your token" step above.
75-
1. Replace "raiBlocklistName" in the body with a custom name for your list. Allowed characters: `0-9, A-Z, a-z, - . _ ~`.
75+
1. Optionally change the `"completionBlocklists"` title to `"promptBlocklists"` if you want the blocklist to apply to user prompts instead of AI model completions.
76+
1. Replace `"raiBlocklistName"` in the body with a custom name for your list. Allowed characters: `0-9, A-Z, a-z, - . _ ~`.
7677

7778
```bash
78-
curl --location --request PUT 'https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiPolicies/{raiPolicyName}?api-version=2024-03-01-preview' \
79+
curl --location --request PUT 'https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiPolicies/{raiPolicyName}?api-version=2024-04-01-preview' \
7980
--header 'Authorization: Bearer {token}' \
8081
--header 'Content-Type: application/json' \
8182
--data-raw '{
@@ -105,7 +106,7 @@ Copy the cURL command below to a text editor and make the following changes:
105106
1. Replace the value of the `"blocking pattern"` field with the item you'd like to add to your blocklist. The maximum length of a blockItem is 1000 characters. Also specify whether the pattern is regex or exact match.
106107

107108
```bash
108-
curl --location --request PUT 'https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}?api-version=2024-03-01-preview' \
109+
curl --location --request PUT 'https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}?api-version=2024-04-01-preview' \
109110
--header 'Authorization: Bearer {token}' \
110111
--header 'Content-Type: application/json' \
111112
--data-raw '{

articles/machine-learning/prompt-flow/how-to-secure-prompt-flow.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ Here is table to illustrate the options in different network set up for prompt f
3838

3939
|Ingress|Egress |Compute type in authoring |Compute type in inference |Network options for workspace|
4040
|-------|-------|----------------------------------------|---------------------------------------------------------|-----------------------------|
41-
|Public |Public |Serverless (recommend), Compute instance| Managed online endpoint (recommend), K8s online endpoint|Managed (recommend) /Bring you own|
42-
|Private|Public |Serverless (recommend), Compute instance| Managed online endpoint (recommend), K8s online endpoint|Managed (recommend) /Bring you own|
41+
|Public |Public |Serverless (recommend), Compute instance| Managed online endpoint (recommend)|Managed (recommend)|
42+
|Public |Public |Serverless (recommend), Compute instance| K8s online endpoint| Bring you own|
43+
|Private|Public |Serverless (recommend), Compute instance| Managed online endpoint (recommend)|Managed (recommend)|
44+
|Private|Public |Serverless (recommend), Compute instance| K8s online endpoint|Bring you own|
4345
|Public |Private|Serverless (recommend), Compute instance| Managed online endpoint |Managed|
4446
|Private|Private|Serverless (recommend), Compute instance| Managed online endpoint |Managed|
4547

articles/search/search-limits-quotas-capacity.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: HeidiSteen
88
ms.author: heidist
99
ms.service: azure-ai-search
1010
ms.topic: conceptual
11-
ms.date: 12/05/2024
11+
ms.date: 12/06/2024
1212
ms.custom:
1313
- references_regions
1414
- build-2024
@@ -204,7 +204,7 @@ Static rate request limits for operations related to a service:
204204

205205
Total semantic ranker queries per second varies based on the following factors:
206206
+ The SKU of the search service. Both queue capacity and concurrent request limits vary by SKU.
207-
+ The number of search units in the search service. The simplest way to increase the maximum number of concurrent semantic ranker queries is to [add additional search units to your search service](search-capacity-planning.md#how-to-change-capacity).
207+
+ The number of search units in the search service. The simplest way to increase the maximum number of concurrent semantic ranker queries is to [add more search units to your search service](search-capacity-planning.md#how-to-change-capacity).
208208
+ The total available semantic ranker capacity in the region.
209209
+ The amount of time it takes to serve a query using semantic ranker. This varies based on how busy the search service is.
210210

@@ -217,13 +217,17 @@ The following table describes the semantic ranker throttling limits by SKU. Subj
217217

218218
## API request limits
219219

220-
Limits on payloads and queries exist because unbounded queries can destabilize your search service. Typically, such queries are created programmatically. If your application generates search queries programmatically, we recommend designing it in such a way that it doesn't generate queries of unbounded size. If you must exeed a supported limit, you should [test your workload](search-performance-analysis.md#develop-baseline-numbers) so that you know what to expect.
220+
Limits on queries exist because unbounded queries can destabilize your search service. Typically, such queries are created programmatically. If your application generates search queries programmatically, we recommend designing it in such a way that it doesn't generate queries of unbounded size.
221+
222+
Limits on payloads exist for similar reasons, ensuring the stability of your search service. The limit applies to the entire request, inclusive of all its components. For example, if the request batches several documents or commands, the entire request must fit within the supported limit.
223+
224+
If you must exceed a supported limit, you should [test your workload](search-performance-analysis.md#develop-baseline-numbers) so that you know what to expect.
221225

222226
Except where noted, the following API requests apply to all programmable interfaces, including the Azure SDKs.
223227

224228
General:
225229

226-
+ Supported maximum payload limit is 16 MB for indexing and query requests via REST API and SDKs.
230+
+ Supported maximum payload limit is 16 MB for indexing and query request via REST API and SDKs.
227231
+ Maximum 8-KB URL length (applies to REST APIs only).
228232

229233
Indexing APIs:
@@ -247,6 +251,8 @@ Search terms:
247251
+ Maximum 1,000 documents returned per page of search results
248252
+ Maximum 100 suggestions returned per Suggest API request
249253

254+
The search engine returns 50 results by default, but you can [override this parameter](search-pagination-page-layout.md#number-of-results-in-the-response) up to the maximum limit.
255+
250256
## API key limits
251257

252258
API keys are used for service authentication. There are two types. Admin keys are specified in the request header and grant full read-write access to the service. Query keys are read-only, specified on the URL, and typically distributed to client applications.

0 commit comments

Comments
 (0)