ResponseFormatJsonSchema interface

JSON Schema response format. Used to generate structured JSON responses. Learn more about Structured Outputs.

Extends

Properties

json_schema

Structured Outputs configuration options, including a JSON Schema.

type

The type of response format being defined. Always json_schema.

Property Details

json_schema

Structured Outputs configuration options, including a JSON Schema.

json_schema: ResponseFormatJsonSchemaJsonSchema

Property Value

type

The type of response format being defined. Always json_schema.

type: "json_schema"

Property Value

"json_schema"