@@ -149,6 +149,11 @@ def create(
149149 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
150150 all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
151151
152+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
153+ Outputs which guarantees the model will match your supplied JSON schema. Learn
154+ more in the
155+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
156+
152157 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
153158 message the model generates is valid JSON.
154159
@@ -347,6 +352,11 @@ def create(
347352 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
348353 all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
349354
355+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
356+ Outputs which guarantees the model will match your supplied JSON schema. Learn
357+ more in the
358+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
359+
350360 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
351361 message the model generates is valid JSON.
352362
@@ -538,6 +548,11 @@ def create(
538548 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
539549 all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
540550
551+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
552+ Outputs which guarantees the model will match your supplied JSON schema. Learn
553+ more in the
554+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
555+
541556 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
542557 message the model generates is valid JSON.
543558
@@ -805,6 +820,11 @@ async def create(
805820 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
806821 all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
807822
823+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
824+ Outputs which guarantees the model will match your supplied JSON schema. Learn
825+ more in the
826+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
827+
808828 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
809829 message the model generates is valid JSON.
810830
@@ -1003,6 +1023,11 @@ async def create(
10031023 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
10041024 all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
10051025
1026+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
1027+ Outputs which guarantees the model will match your supplied JSON schema. Learn
1028+ more in the
1029+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
1030+
10061031 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
10071032 message the model generates is valid JSON.
10081033
@@ -1194,6 +1219,11 @@ async def create(
11941219 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
11951220 all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
11961221
1222+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
1223+ Outputs which guarantees the model will match your supplied JSON schema. Learn
1224+ more in the
1225+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
1226+
11971227 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
11981228 message the model generates is valid JSON.
11991229
0 commit comments