Class CohereResponseJsonFormat.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.CohereResponseJsonFormat.Builder
-
- Enclosing class:
- CohereResponseJsonFormat
public static class CohereResponseJsonFormat.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
schema
public CohereResponseJsonFormat.Builder schema(Object schema)
The schema used by the structured output, described as a JSON Schema object.- Parameters:
schema
- the value to set- Returns:
- this builder
-
build
public CohereResponseJsonFormat build()
-
copy
public CohereResponseJsonFormat.Builder copy(CohereResponseJsonFormat model)
-
-