BedrockSessionContentBlock¶
Union Type¶
BedrockSessionContentBlock
module-attribute
¶
BedrockSessionContentBlock = Union[BedrockSessionContentBlockText | BedrockSessionContentBlockImage | BedrockSessionContentBlockUnknown]
A block of content that you pass to, or receive from, a Amazon Bedrock
session in an invocation step. You pass the content to a session in the
payLoad of the
PutInvocationStep
API operation. You retrieve the content with the
GetInvocationStep
API operation.
For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.