AbstractOptionalkwargs: Record<string, unknown>Additional keyword arguments
Optionalfunction_Optionaltool_The content of the message.
OptionalidAn optional unique identifier for the message. This should ideally be provided by the provider/model which created the message.
OptionalnameThe name of the message sender in a multi-user chat.
Response metadata. For example: response headers, logprobs, token counts, model name.
Get text content of the message.
AbstractconcatThe type of the message.
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 anotherBaseMessageChunkinto this one. It also overrides the__add__()method to support concatenation ofBaseMessageChunkinstances.