Skip to content

OutputFormat

Structure Class

OutputFormat dataclass

Bases: _SerdeShape

Structured output parameters to control the model's response.

Attributes

structure instance-attribute

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

type instance-attribute
type: str

The type of structured output format.