Skip to content

Bedrock Agentcore  >  Unions  >  Content

Content

Union Type

Content module-attribute

Content = Union[ContentText | ContentUnknown]

Contains the content of a memory item.

Union Member Types

ContentText dataclass

The text content of the memory item.

Attributes

value instance-attribute
value: str

ContentUnknown 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