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: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -220,7 +220,7 @@ Chat completion is available through the [`create_chat_completion`](https://llam
220
220
221
221
If you want to constrain chat responses to only valid JSON or a specific JSON Schema you can use the `response_format` argument to the `create_chat_completion` method.
222
222
223
-
#### Json Mode
223
+
#### JSON Mode
224
224
225
225
The following example will constrain the response to be valid JSON.
226
226
@@ -242,7 +242,7 @@ The following example will constrain the response to be valid JSON.
242
242
)
243
243
```
244
244
245
-
#### Json Mode
245
+
#### JSON Schema Mode
246
246
247
247
To constrain the response to a specific JSON Schema, you can use the `schema` property of the `response_format` argument.
0 commit comments