@@ -314,6 +314,11 @@ def create_and_run(
314314 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
315315 and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
316316
317+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
318+ Outputs which guarantees the model will match your supplied JSON schema. Learn
319+ more in the
320+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
321+
317322 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
318323 message the model generates is valid JSON.
319324
@@ -443,6 +448,11 @@ def create_and_run(
443448 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
444449 and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
445450
451+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
452+ Outputs which guarantees the model will match your supplied JSON schema. Learn
453+ more in the
454+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
455+
446456 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
447457 message the model generates is valid JSON.
448458
@@ -568,6 +578,11 @@ def create_and_run(
568578 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
569579 and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
570580
581+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
582+ Outputs which guarantees the model will match your supplied JSON schema. Learn
583+ more in the
584+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
585+
571586 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
572587 message the model generates is valid JSON.
573588
@@ -942,6 +957,11 @@ async def create_and_run(
942957 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
943958 and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
944959
960+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
961+ Outputs which guarantees the model will match your supplied JSON schema. Learn
962+ more in the
963+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
964+
945965 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
946966 message the model generates is valid JSON.
947967
@@ -1071,6 +1091,11 @@ async def create_and_run(
10711091 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
10721092 and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
10731093
1094+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
1095+ Outputs which guarantees the model will match your supplied JSON schema. Learn
1096+ more in the
1097+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
1098+
10741099 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
10751100 message the model generates is valid JSON.
10761101
@@ -1196,6 +1221,11 @@ async def create_and_run(
11961221 [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
11971222 and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
11981223
1224+ Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
1225+ Outputs which guarantees the model will match your supplied JSON schema. Learn
1226+ more in the
1227+ [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
1228+
11991229 Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
12001230 message the model generates is valid JSON.
12011231
0 commit comments