File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -567,7 +567,7 @@ For a full example of the usage of _Structured Outputs_ with the Responses API,
567
567
568
568
Instead of using ` ResponseCreateParams.text(Class<T>) ` , you can build a
569
569
[ ` StructuredResponseTextConfig ` ] ( openai-java-core/src/main/kotlin/com/openai/models/responses/StructuredResponseTextConfig.kt )
570
- and set it on the ` ResponseCreateParams ` using the ` text(StructuredResponseCreateParams ) ` method.
570
+ and set it on the ` ResponseCreateParams ` using the ` text(StructuredResponseTextConfig ) ` method.
571
571
Similar to using ` ResponseCreateParams ` , you can start with a ` ResponseTextConfig.Builder ` and its
572
572
` format(Class<T>) ` method will change it to a ` StructuredResponseTextConfig.Builder ` . This also
573
573
allows you to set the ` verbosity ` configuration parameter on the text configuration before adding it
@@ -577,7 +577,6 @@ For a full example of the usage of _Structured Outputs_ with the `ResponseTextCo
577
577
` verbosity ` parameter, see
578
578
[ ` ResponsesStructuredOutputsVerbosityExample ` ] ( openai-java-example/src/main/java/com/openai/example/ResponsesStructuredOutputsVerbosityExample.java ) .
579
579
580
-
581
580
### Usage with streaming
582
581
583
582
_ Structured Outputs_ can also be used with [ Streaming] ( #streaming ) and the Chat Completions API. As
You can’t perform that action at this time.
0 commit comments