Skip to content

Commit eaed615

Browse files
committed
fix samples
1 parent 15fb5ac commit eaed615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ When you do so, the following options are available for detection on tagged docu
815815
Here's an example chat completion messages array:
816816
817817
```json
818-
{"role": "system", "content": "Provide some context and/or instructions to the model, including document context. \"\"\" <documents>\n*insert your document content here*\n<\\documents> \"\"\""},
818+
{"role": "system", "content": "Provide some context and/or instructions to the model, including document context. \"\"\" <documents>\n*insert your document content here*\n</documents> \"\"\""},
819819
820820
{"role": "user", "content": "First question/message for the model to actually respond to."}
821821
```
@@ -841,7 +841,7 @@ Hello Jos\u00E9,\nI hope this email finds you well today.
841841
The escaped text in a chat completion context would read:
842842
843843
```json
844-
{"role": "system", "content": "Provide some context and/or instructions to the model, including document context. \"\"\" <documents>\n Hello Jos\\u00E9,\\nI hope this email finds you well today. \n<\\documents> \"\"\""},
844+
{"role": "system", "content": "Provide some context and/or instructions to the model, including document context. \"\"\" <documents>\n Hello Jos\\u00E9,\\nI hope this email finds you well today. \n</documents> \"\"\""},
845845
846846
{"role": "user", "content": "First question/message for the model to actually respond to."}
847847
```

0 commit comments

Comments
 (0)