message
T = TypeVar('T', bound=BaseMessageContent)
module-attribute
Message
Bases: BaseMessage
T = TypeVar('T', bound=BaseMessageContent)
module-attribute
Message
Bases: BaseMessage
griptape/common/prompt_stack/messages/message.py
content: list[BaseMessageContent] = field(metadata={'serializable': True})
class-attribute
instance-attribute
value: Any
property
__init__(content, **kwargs)
griptape/common/prompt_stack/messages/message.py
__str__()
get_content_type(content_type)
has_all_content_type(content_type)
has_any_content_type(content_type)
is_text()
to_artifact()