I would like to reconstruct an object of langchain_core.messages.ai.AIMessage from the dict obtained from an object of type langchain_core.messages.ai.AIMessage.
Is there a constructor I can use?
The documentation of “langchain_core.messages.ai.AIMessage” seems not to include information on the construction of “langchain_core.messages.ai.AIMessage” objects.