Skip to content

Bedrock Runtime  >  Structures  >  OutputFormat

OutputFormat

Structure Class

OutputFormat dataclass

Structured output parameters to control the model's response.

Attributes

structure class-attribute instance-attribute
structure: OutputFormatStructure = field(repr=False)

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

type instance-attribute

The type of structured output format.