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.
Abstract
concatGenerated using TypeDoc
Represents a chunk of a message, which can be concatenated with other message chunks. It includes a method
_merge_kwargs_dict()
for merging additional keyword arguments from anotherBaseMessageChunk
into this one. It also overrides the__add__()
method to support concatenation ofBaseMessageChunk
instances.