Skip to content

Commit 80c6998

Browse files
committed
verbosity: minor doc fixes
1 parent 455e6a1 commit 80c6998

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ For a full example of the usage of _Structured Outputs_ with the Responses API,
567567

568568
Instead of using `ResponseCreateParams.text(Class<T>)`, you can build a
569569
[`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.
571571
Similar to using `ResponseCreateParams`, you can start with a `ResponseTextConfig.Builder` and its
572572
`format(Class<T>)` method will change it to a `StructuredResponseTextConfig.Builder`. This also
573573
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
577577
`verbosity` parameter, see
578578
[`ResponsesStructuredOutputsVerbosityExample`](openai-java-example/src/main/java/com/openai/example/ResponsesStructuredOutputsVerbosityExample.java).
579579

580-
581580
### Usage with streaming
582581

583582
_Structured Outputs_ can also be used with [Streaming](#streaming) and the Chat Completions API. As

0 commit comments

Comments
 (0)