JsonSchema

@SerialName(value = "json_schema")
class JsonSchema(val jsonSchema: JsonSchemaObject) : OpenAIResponseFormat(source)

JSON Schema response format. Used to generate structured JSON responses.

Constructors

Link copied to clipboard
constructor(jsonSchema: JsonSchemaObject)

Properties

Link copied to clipboard

Structured Outputs configuration options, including a JSON Schema.