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/content-understanding/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ See [Quickstart](quickstart/use-ai-foundry.md) for more examples.
78
78
79
79
### Modified Content Filtering
80
80
81
-
Azure AI Content Understanding now supports disabling content filtering for approved customers. The subscription IDs with approved modified content filtering impacts the Azure AI Content Understanding output. By default, Content Understanding employs a content filtering system that identifies specific risk categories for potentially harmful content in both submitted prompts and generated outputs. If content is flagged with a high severity level, indicating a significant potential for harm, the output is blocked. For more information on risk categories, *see*[Content filtering: risk categories](../openai/concepts/content-filter.md#risk-categories).
81
+
Azure AI Content Understanding now supports modifying the content filtering system for approved customers. The subscription IDs with approved modified content filtering impacts the Azure AI Content Understanding output. By default, Content Understanding employs a content filtering system that identifies specific risk categories for potentially harmful content in both submitted prompts and generated outputs. By modifying the content filtering setting, the system will annotate rather than block potentially harmful output allowing you to decide how potentially harmful content is handled. For more information on content filter types, *see*[Content filtering: filter types](../openai/concepts/content-filter.md#content-filter-types).
Copy file name to clipboardExpand all lines: articles/ai-services/content-understanding/quickstart/use-rest-api.md
+89-94Lines changed: 89 additions & 94 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,37 +83,6 @@ First, create a JSON file named `request_body.json` with the following content:
83
83
}
84
84
```
85
85
86
-
##### Content filtering
87
-
88
-
* Azure AI Content Understanding allows approved customers to disable content filtering.
89
-
90
-
* To request modified content filtering, complete the following form: [Azure OpenAI Limited Access Review: Modified Content Filters](https://ncv.microsoft.com/uEfCgnITdR).
91
-
92
-
* Once approved, create or update your `request_body.json` file to include the `"disableContentFiltering": true` property. Here is an example:
93
-
94
-
```json
95
-
{
96
-
"description": "Sample invoice analyzer",
97
-
"scenario": "document",
98
-
"config": {
99
-
100
-
"disableContentFiltering": true,
101
-
102
-
"enableFace": true,
103
-
"returnDetails": true,
104
-
},
105
-
"fieldSchema": {
106
-
107
-
<insert your schema here>
108
-
109
-
}
110
-
}
111
-
112
-
```
113
-
114
-
For more information, *see*[**Content Filtering**](../../openai/concepts/content-filter.md).
115
-
116
-
117
86
# [Image](#tab/image)
118
87
119
88
To create a custom analyzer, you need to define a field schema that describes the structured data you want to extract. In the following example, we define a schema for identifying detects in images of metal plates.
@@ -138,35 +107,6 @@ First, create a JSON file named `request_body.json` with the following content:
138
107
}
139
108
```
140
109
141
-
##### Content filtering
142
-
143
-
* Azure AI Content Understanding allows approved customers to disable content filtering.
144
-
145
-
* To request modified content filtering, complete the following form: [Azure OpenAI Limited Access Review: Modified Content Filters](https://ncv.microsoft.com/uEfCgnITdR).
146
-
147
-
* Once approved, create or update your `request_body.json` file to include the `"disableContentFiltering": true` property. Here is an example:
148
-
149
-
```json
150
-
{
151
-
"description": "Sample chart analyzer",
152
-
"scenario": "image",
153
-
"config": {
154
-
155
-
"disableContentFiltering": true,
156
-
157
-
"returnDetails": true,
158
-
},
159
-
"fieldSchema": {
160
-
161
-
<insert your schema here>
162
-
163
-
}
164
-
}
165
-
166
-
```
167
-
168
-
For more information, *see*[**Content Filtering**](../../openai/concepts/content-filter.md).
169
-
170
110
# [Audio](#tab/audio)
171
111
172
112
To create a custom analyzer, you need to define a field schema that describes the structured data you want to extract. In the following example, we define a schema for extracting basic information from call transcripts.
@@ -207,27 +147,83 @@ First, create a JSON file named `request_body.json` with the following content:
207
147
}
208
148
```
209
149
210
-
##### Content filtering
150
+
# [Video](#tab/video)
151
+
152
+
To create a custom analyzer, you need to define a field schema that describes the structured data you want to extract. In the following example, we define a schema for extracting basic information from marketing videos.
153
+
154
+
First, create a JSON file named `request_body.json` with the following content:
155
+
```json
156
+
{
157
+
"description": "Sample marketing video analyzer",
158
+
"scenario": "videoShot",
159
+
"fieldSchema": {
160
+
"fields": {
161
+
"Description": {
162
+
"type": "string",
163
+
"description": "Detailed summary of the video segment, focusing on product characteristics, lighting, and color palette."
164
+
},
165
+
"Sentiment": {
166
+
"type": "string",
167
+
"method": "classify",
168
+
"enum": [ "Positive", "Neutral", "Negative" ]
169
+
}
170
+
}
171
+
}
172
+
}
173
+
```
174
+
175
+
---
211
176
212
-
* Azure AI Content Understanding allows approved customers to disable content filtering.
177
+
### Modified content filtering
213
178
214
-
*To request modified content filtering, complete the following form: [Azure OpenAI Limited Access Review: Modified Content Filters](https://ncv.microsoft.com/uEfCgnITdR).
179
+
*Approved Azure AI Content Understanding customers can modify the default content filtering system. Once modified, the output filters annotate content instead of blocking it providing enhanced control over content filtering in the Content Understanding output.
215
180
216
-
* Once approved, create or update your `request_body.json` file to include the `"disableContentFiltering": true` property. Here is an example:
181
+
* To request approval for modified content filtering, complete the following form: [Azure OpenAI Limited Access Review: Modified Content Filters](https://ncv.microsoft.com/uEfCgnITdR).
182
+
183
+
* Once approved, create or update your `request_body.json` file to include the `"disableContentFiltering": true` property.
184
+
185
+
# [Document](#tab/document)
186
+
187
+
Here's a document modality code sample using the`"disableContentFiltering": true` property:
217
188
218
189
```json
219
190
{
220
-
"description": "Sample call transcript analyzer",
221
-
"scenario": "callCenter",
191
+
"description": "Sample invoice analyzer",
192
+
"scenario": "document",
222
193
"config": {
223
194
224
195
"disableContentFiltering": true,
225
196
197
+
"enableFace": true,
226
198
"returnDetails": true,
227
-
"locales": ["en-US"]
228
199
},
229
200
"fieldSchema": {
230
201
202
+
<insert your schema here>
203
+
204
+
}
205
+
}
206
+
207
+
```
208
+
209
+
For more information, *see*[**Content Filtering**](../../openai/concepts/content-filter.md).
210
+
211
+
# [Image](#tab/image)
212
+
213
+
Here's an image modality code sample using the`"disableContentFiltering": true` property:
214
+
215
+
```json
216
+
{
217
+
"description": "Sample chart analyzer",
218
+
"scenario": "image",
219
+
"config": {
220
+
221
+
"disableContentFiltering": true,
222
+
223
+
"returnDetails": true,
224
+
},
225
+
"fieldSchema": {
226
+
231
227
<insert your schema here>
232
228
233
229
}
@@ -237,37 +233,36 @@ First, create a JSON file named `request_body.json` with the following content:
237
233
238
234
For more information, *see*[**Content Filtering**](../../openai/concepts/content-filter.md).
239
235
240
-
# [Video](#tab/video)
236
+
# [Audio](#tab/audio)
241
237
242
-
To create a custom analyzer, you need to define a field schema that describes the structured data you want to extract. In the following example, we define a schema for extracting basic information from marketing videos.
238
+
Here's an audio modality code sample using the`"disableContentFiltering": true` property:
243
239
244
-
First, create a JSON file named `request_body.json` with the following content:
245
-
```json
246
-
{
247
-
"description": "Sample marketing video analyzer",
248
-
"scenario": "videoShot",
249
-
"fieldSchema": {
250
-
"fields": {
251
-
"Description": {
252
-
"type": "string",
253
-
"description": "Detailed summary of the video segment, focusing on product characteristics, lighting, and color palette."
254
-
},
255
-
"Sentiment": {
256
-
"type": "string",
257
-
"method": "classify",
258
-
"enum": [ "Positive", "Neutral", "Negative" ]
259
-
}
260
-
}
261
-
}
262
-
}
263
-
```
264
-
##### Content filtering
240
+
```json
241
+
{
242
+
"description": "Sample call transcript analyzer",
243
+
"scenario": "callCenter",
244
+
"config": {
265
245
266
-
* Azure AI Content Understanding allows approved customers to disable content filtering.
246
+
"disableContentFiltering": true,
247
+
248
+
"returnDetails": true,
249
+
"locales": ["en-US"]
250
+
},
251
+
"fieldSchema": {
267
252
268
-
* To request modified content filtering, complete the following form: [Azure OpenAI Limited Access Review: Modified Content Filters](https://ncv.microsoft.com/uEfCgnITdR).
253
+
<insert your schema here>
269
254
270
-
* Once approved, create or update your `request_body.json` file to include the `"disableContentFiltering": true` property. Here is an example:
255
+
}
256
+
}
257
+
258
+
```
259
+
260
+
For more information, *see*[**Content Filtering**](../../openai/concepts/content-filter.md).
261
+
262
+
263
+
# [Video](#tab/video)
264
+
265
+
Here's a video modality code sample using the`"disableContentFiltering": true` property:
271
266
272
267
```json
273
268
{
@@ -286,11 +281,11 @@ First, create a JSON file named `request_body.json` with the following content:
286
281
}
287
282
288
283
```
289
-
290
284
For more information, *see*[**Content Filtering**](../../openai/concepts/content-filter.md).
291
285
292
286
---
293
287
288
+
294
289
Before running the following `cURL` commands, make the following changes to the HTTP request:
295
290
296
291
1. Replace `{endpoint}` and `{key}` with the endpoint and key values from your Azure portal Azure AI Services instance.
0 commit comments