message_chunk_to_message#
- langchain_core.messages.utils.message_chunk_to_message(chunk: BaseMessageChunk) BaseMessage [source]#
Convert a message chunk to a message.
- Parameters:
chunk (BaseMessageChunk) – Message chunk to convert.
- Returns:
Message.
- Return type: