JsonSchemaDefinition¶
Structure Class¶
JsonSchemaDefinition
dataclass
¶
JSON schema structured output format options.
Attributes¶
description
class-attribute
instance-attribute
¶
description: str | None = None
A description of the JSON schema.
schema
instance-attribute
¶
schema: str
The JSON schema to constrain the model's output. For more information, see JSON Schema Reference.