From 8c592100623ec08583c34190a15d4c1d07945b25 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Sat, 27 Jan 2024 19:37:59 -0500 Subject: [PATCH] docs: Fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f5cd50e..faf4a87 100644 --- a/README.md +++ b/README.md @@ -220,7 +220,7 @@ Chat completion is available through the [`create_chat_completion`](https://llam 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. -#### Json Mode +#### JSON Mode The following example will constrain the response to be valid JSON. @@ -242,7 +242,7 @@ The following example will constrain the response to be valid JSON. ) ``` -#### Json Mode +#### JSON Schema Mode To constrain the response to a specific JSON Schema, you can use the `schema` property of the `response_format` argument.