Skip to content

OutputFormatStructureDict

Union Type

OutputFormatStructureDict module-attribute

OutputFormatStructureDict = Union[OutputFormatStructureJsonSchemaDict]

Dictionary form of OutputFormatStructure, setting exactly one variant.

Union Member Types

OutputFormatStructureJsonSchemaDict

Bases: TypedDict

Attributes

json_schema instance-attribute

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