-
Notifications
You must be signed in to change notification settings - Fork 154
feat(client): support verbosity with structured outputs #603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0ea523e
to
2d81455
Compare
bc50e89
to
9d47c57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done :)
README.md
Outdated
@@ -565,6 +565,19 @@ the latter when `ResponseCreateParams.Builder.text(Class<T>)` is called. | |||
For a full example of the usage of _Structured Outputs_ with the Responses API, see | |||
[`ResponsesStructuredOutputsExample`](openai-java-example/src/main/java/com/openai/example/ResponsesStructuredOutputsExample.java). | |||
|
|||
Instead of using `ResponseCreateParams.text(Class<T>)`, you can build a | |||
[`StructuredResponseTextConfig`](openai-java-core/src/main/kotlin/com/openai/models/responses/StructuredResponseTextConfig.kt) | |||
and set it on the `ResponseCreateParams` using the `text(StructuredResponseCreateParams)` method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and set it on the `ResponseCreateParams` using the `text(StructuredResponseCreateParams)` method. | |
and set it on the `ResponseCreateParams` using the `text(StructuredResponseTextConfig)` method. |
I assume this is what you meant
README.md
Outdated
`verbosity` parameter, see | ||
[`ResponsesStructuredOutputsVerbosityExample`](openai-java-example/src/main/java/com/openai/example/ResponsesStructuredOutputsVerbosityExample.java). | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(removing extra newline)
9d47c57
to
80c6998
Compare
* feat(client): support verbosity with structured outputs (#603) * verbosity: structured output support for verbosity #576 * verbosity: minor doc fixes * release: 3.3.0 --------- Co-authored-by: D Gardner <[email protected]> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Closes #576