langchain_community.chat_models.tongyi.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
Returns

Message.

Return type

BaseMessage