You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/use-blocklists.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ Copy the cURL command below to a text editor and make the following changes:
49
49
1. Optionally replace the value of the "description" field with a custom description.
50
50
51
51
```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'\
53
53
--header 'Authorization: Bearer {token}'\
54
54
--header 'Content-Type: application/json'\
55
55
--data-raw '{
@@ -72,10 +72,11 @@ To apply a **completion** blocklist to a content filter, use the following cURL
72
72
1. Replace {accountName} with your resource name.
73
73
1. Replace {raiPolicyName} with the name of your Content Filter
74
74
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, - . _ ~`.
76
77
77
78
```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'\
79
80
--header 'Authorization: Bearer {token}'\
80
81
--header 'Content-Type: application/json'\
81
82
--data-raw '{
@@ -105,7 +106,7 @@ Copy the cURL command below to a text editor and make the following changes:
105
106
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.
106
107
107
108
```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'\
Copy file name to clipboardExpand all lines: articles/search/search-limits-quotas-capacity.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ author: HeidiSteen
8
8
ms.author: heidist
9
9
ms.service: azure-ai-search
10
10
ms.topic: conceptual
11
-
ms.date: 12/05/2024
11
+
ms.date: 12/06/2024
12
12
ms.custom:
13
13
- references_regions
14
14
- build-2024
@@ -204,7 +204,7 @@ Static rate request limits for operations related to a service:
204
204
205
205
Total semantic ranker queries per second varies based on the following factors:
206
206
+ 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).
208
208
+ The total available semantic ranker capacity in the region.
209
209
+ The amount of time it takes to serve a query using semantic ranker. This varies based on how busy the search service is.
210
210
@@ -217,13 +217,17 @@ The following table describes the semantic ranker throttling limits by SKU. Subj
217
217
218
218
## API request limits
219
219
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.
221
225
222
226
Except where noted, the following API requests apply to all programmable interfaces, including the Azure SDKs.
223
227
224
228
General:
225
229
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.
227
231
+ Maximum 8-KB URL length (applies to REST APIs only).
228
232
229
233
Indexing APIs:
@@ -247,6 +251,8 @@ Search terms:
247
251
+ Maximum 1,000 documents returned per page of search results
248
252
+ Maximum 100 suggestions returned per Suggest API request
249
253
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
+
250
256
## API key limits
251
257
252
258
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