public static class CohereResponseJsonFormat.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CohereResponseJsonFormat |
build() |
CohereResponseJsonFormat.Builder |
copy(CohereResponseJsonFormat model) |
CohereResponseJsonFormat.Builder |
schema(Object schema)
The schema used by the structured output, described as a JSON Schema object.
|
public CohereResponseJsonFormat.Builder schema(Object schema)
The schema used by the structured output, described as a JSON Schema object.
schema
- the value to setpublic CohereResponseJsonFormat build()
public CohereResponseJsonFormat.Builder copy(CohereResponseJsonFormat model)
Copyright © 2016–2024. All rights reserved.