Skip to content

Commit b099970

Browse files
committed
update
1 parent 8d223f6 commit b099970

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/ai-services/openai/how-to/structured-outputs.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ recommendations: false
1414

1515
# Structured outputs
1616

17-
Structured outputs make a model follow a [JSON Schema](https://json-schema.org/overview/what-is-jsonschema) definition that you provide as part of your chat completions API call. This is in contrast to the older [JSON mode](./json-mode.md) feature, which guaranteed valid JSON would be generated, but was unable to ensure strict adherence to the supplied schema.
17+
Structured outputs make a model follow a [JSON Schema](https://json-schema.org/overview/what-is-jsonschema) definition that you provide as part of your inference API call. This is in contrast to the older [JSON mode](./json-mode.md) feature, which guaranteed valid JSON would be generated, but was unable to ensure strict adherence to the supplied schema. Structured outputs is recommended for function calling, extracting structured data, and building complex multi-step workflows.
1818

1919
## Supported models
2020

@@ -272,7 +272,10 @@ Output:
272272

273273
## Function calling with structured outputs
274274

275-
Structured Outputs for function calling can be enabled with a single parameter, by supplying `strict: true`.
275+
Structured Outputs for function calling can be enabled with a single parameter, by supplying `strict: true`.
276+
277+
> [!NOTE]
278+
> Structured outputs is not supported with parallel function calls. When using structured outputs set `parallel_tool_calls` to `false`.
276279
277280
# [Python (Microsoft Entra ID)](#tab/python-secure)
278281

0 commit comments

Comments
 (0)