Ask a question to get started
Enter to sendā¢Shift+Enter new line
RemoveMessage( self, id: str, **kwargs: Any = {}, )
BaseMessage
The contents of the message.
Reserved for additional payload data associated with the message.
Examples: response headers, logprobs, token counts, model name.
An optional name for the message.
An optional unique identifier for the message.
Load content blocks from the message content.
Get the text content of the message as a string.
BaseMessage is serializable.
Get the namespace of the LangChain object.
Get a pretty representation of the message.
Print a pretty representation of the message.
A map of constructor argument names to secret ids.
List of attribute names that should be included in the serialized kwargs.
Is this class serializable?
Return a unique identifier for this class for serialization purposes.
Serialize the object to JSON.
Serialize a "not implemented" object.
id
str
The ID of the message to remove.
**kwargs
Any
{}
Additional fields to pass to the message.
The type of the message (used for serialization).
Message responsible for deleting other messages.