Skip to content

Message

Source code in docs_src/capo_opensearchmemory/types/message.py
class Message(TypedDict, closed=True):
    role: "capo_opensearchmemory.types.message_role.MessageRole"
    """<p>The author of the turn.</p>"""
    content: "capo_opensearchmemory.types.message_content.MessageContent"
    """<p>The content of the turn.</p>"""

content instance-attribute

content: MessageContent

The content of the turn.

role instance-attribute

The author of the turn.