langchain_community.adapters.openai.convert_dict_to_message¶
langchain_community.adapters.openai.convert_dict_to_message(_dict: Mapping[str, Any]) → BaseMessage[source]¶
Convert a dictionary to a LangChain message.
Parameters
_dict – The dictionary.
Returns
The LangChain message.