Skip to content

OutputFormatStructure

Union Type

OutputFormatStructure module-attribute

The structure that the model's output must adhere to.

Union Member Types

OutputFormatStructureJsonSchema dataclass

Bases: _SerdeShape

A JSON schema structure that the model's output must adhere to.

Attributes

value instance-attribute

OutputFormatStructureUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str