convert_message_chunk_to_message#
- langchain_community.chat_models.tongyi.convert_message_chunk_to_message(message_chunk: BaseMessageChunk) BaseMessage [source]#
Convert a message chunk to a message.
- Parameters:
chunk – Message chunk to convert.
message_chunk (BaseMessageChunk)
- Returns:
Message.
- Return type: