Skip to content

Bedrock Runtime  >  Unions  >  ConverseOutput

ConverseOutput

Union Type

ConverseOutput module-attribute

ConverseOutput = Union[ConverseOutputMessage | ConverseOutputUnknown]

The output from a call to Converse.

Union Member Types

ConverseOutputMessage dataclass

The message that the model generates.

Attributes

value instance-attribute
value: Message

ConverseOutputUnknown 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