Skip to content

Commit 7a0efaf

Browse files
committed
add annotation availability table
1 parent 6b930e0 commit 7a0efaf

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

articles/ai-services/openai/concepts/content-filter.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ When annotations are enabled as shown in the code snippet below, the following i
311311

312312
Optional models can be enabled in annotate (returns information when content was flagged, but not filtered) or filter mode (returns information when content was flagged and filtered).
313313

314-
When annotations are enabled as shown in the code snippet below, the following information is returned by the API for optional models:
314+
When annotations are enabled as shown in the code snippets below, the following information is returned by the API for optional models:
315315

316316
|Model| Output|
317317
|--|--|
@@ -322,7 +322,21 @@ When annotations are enabled as shown in the code snippet below, the following i
322322

323323
When displaying code in your application, we strongly recommend that the application also displays the example citation from the annotations. Compliance with the cited license may also be required for Customer Copyright Commitment coverage.
324324

325-
Annotations are currently available in the GA API version `2024-02-01` and in all preview versions starting from `2023-06-01-preview` for Completions and Chat Completions (GPT models). The following code snippet shows how to use annotations:
325+
See the following table for the annotation availability in each API version:
326+
327+
|Category |2024-02-01 GA| 2023-10-01-preview | 2023-06-01-preview|
328+
|--|--|--|--|
329+
| Hate ||||
330+
| Violence ||||
331+
| Sexual ||||
332+
| Self-harm ||||
333+
| Prompt Shield for jailbreak attacks||||
334+
|Prompt Shield for indirect attacks| |||
335+
|Protected material text||||
336+
|Protected material code||||
337+
|Profanity blocklist||||
338+
|Custom blocklist| |||
339+
326340

327341
# [OpenAI Python 1.x](#tab/python-new)
328342

0 commit comments

Comments
 (0)