Skip to content

Bedrock Runtime  >  Unions  >  OutputFormatStructure

OutputFormatStructure

Union Type

OutputFormatStructure module-attribute

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

Union Member Types

OutputFormatStructureJsonSchema dataclass

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

Attributes

value instance-attribute

OutputFormatStructureUnknown dataclass

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