Skip to content

Message

Source code in docs_src/capo_bedrock_agent/types/message.py
class Message(TypedDict, closed=True):
    role: "capo_bedrock_agent.types.conversation_role.ConversationRole"
    """<p>The role that the message belongs to.</p>"""
    content: "capo_bedrock_agent.types.content_blocks.ContentBlocks"
    """<p>The content in the message.</p>"""

content instance-attribute

content: ContentBlocks

The content in the message.

role instance-attribute

The role that the message belongs to.