langchain_community.chat_models.baidu_qianfan_endpoint.convert_message_to_dict¶
langchain_community.chat_models.baidu_qianfan_endpoint.convert_message_to_dict(message: BaseMessage) → dict[source]¶
Convert a message to a dictionary that can be passed to the API.
Examples using convert_message_to_dict¶
Twitter (via Apify)