Abstract
Optional
kwargs: Record<string, unknown>Additional keyword arguments
Optional
function_Optional
tool_The content of the message.
Response metadata. For example: response headers, logprobs, token counts.
Optional
nameThe name of the message sender in a multi-user chat.
Use BaseMessage.content instead.
This feature is deprecated and will be removed in the future.
It is not recommended for use.
Generated using TypeDoc
Base class for all types of messages in a conversation. It includes properties like
content
,name
, andadditional_kwargs
. It also includes methods liketoDict()
and_getType()
.