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
Older models only support basic version of structured outputs through `{"type": "json_object"}`.
1118
-
For detailed information on JSON mode, see the [OpenAI Structured Outputs documentation](https://platform.openai.com/docs/guides/structured-outputs#json-mode).
1119
-
-For structured outputs with streaming,
1120
-
the `text_format` must be a JSONschema andnot a Pydantic model.
- If both are provided, `text_format` takes precedence and json schema passed to `text`is ignored.
1121
+
- Currently, this component doesn't support streaming for structuredoutputs.
1122
+
-Older models only support basic version of structured outputs through `{"type": "json_object"}`.
1123
+
For detailed information on JSONmode, see the [OpenAI Structured Outputs documentation](https://platform.openai.com/docs/guides/structured-outputs#json-mode).
1121
1124
-`reasoning`: A dictionary of parameters for reasoning. For example:
1122
1125
-`summary`: The summary of the reasoning.
1123
1126
-`effort`: The level of effort to put into the reasoning. Can be `low`, `medium`or`high`.
@@ -2104,16 +2107,19 @@ See OpenAI [documentation](https://platform.openai.com/docs/api-reference/respon
2104
2107
comprising the top 10% probability mass are considered.
2105
2108
-`previous_response_id`: The ID of the previous response.
2106
2109
Use this to create multi-turn conversations.
2107
-
-`text_format`: A JSON schema or a Pydantic model that enforces the structure of the model's response.
2110
+
-`text_format`: A Pydantic model that enforces the structure of the model's response.
2108
2111
If provided, the output will always be validated against this
2109
2112
format (unless the model returns a tool call).
2110
2113
For details, see the [OpenAI Structured Outputs documentation](https://platform.openai.com/docs/guides/structured-outputs).
2114
+
-`text`: A JSON schema that enforces the structure of the model's response.
2115
+
If provided, the output will always be validated against this
Older models only support basic version of structured outputs through `{"type": "json_object"}`.
2114
-
For detailed information on JSON mode, see the [OpenAI Structured Outputs documentation](https://platform.openai.com/docs/guides/structured-outputs#json-mode).
2115
-
-For structured outputs with streaming,
2116
-
the `text_format` must be a JSONschema andnot a Pydantic model.
- If both are provided, `text_format` takes precedence and json schema passed to `text`is ignored.
2120
+
- Currently, this component doesn't support streaming for structuredoutputs.
2121
+
-Older models only support basic version of structured outputs through `{"type": "json_object"}`.
2122
+
For detailed information on JSONmode, see the [OpenAI Structured Outputs documentation](https://platform.openai.com/docs/guides/structured-outputs#json-mode).
2117
2123
-`reasoning`: A dictionary of parameters for reasoning. For example:
2118
2124
-`summary`: The summary of the reasoning.
2119
2125
-`effort`: The level of effort to put into the reasoning. Can be `low`, `medium`or`high`.
0 commit comments