Skip to content

Commit 9a0d027

Browse files
committed
writer edits
1 parent 436fdc9 commit 9a0d027

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -735,15 +735,14 @@ For enhanced detection capabilities, prompts should be formatted according to th
735735
The Chat Completion API is structured by definition. It consists of a list of messages, each with an assigned role.
736736
737737
The safety system will parse this structured format and apply the following behavior:
738-
739-
- On last “user” content, the following categories of RAI Risks will be detected:
738+
- On the latest “user” content, the following categories of RAI Risks will be detected:
740739
- Hate
741740
- Sexual
742741
- Violence
743742
- Self-Harm
744743
- Jailbreak (optional)
745744
746-
Example messages array, with relevant content highlighted:
745+
This is an example message array:
747746
748747
```json
749748
{"role": "system", "content": "Provide some context and/or instructions to the model."},
@@ -766,9 +765,7 @@ When you do so, the following options are available for detection on tagged docu
766765
- On each tagged “document” content, detect the following categories:
767766
- Indirect attacks (optional)
768767
769-
Below are some examples of this use case.
770-
771-
Example chat completion messages array, with relevant content highlighted:
768+
Here is an example chat completion messages array:
772769
773770
```json
774771
{"role": "system", "content": "Provide some context and/or instructions to the model, including document context. \"\"\" <documents>\n*insert your document content here*\n<\\documents> \"\"\""},

0 commit comments

Comments
 (0)