Transforms an array of BaseMessage instances into an array of StoredMessage instances. It does this by calling the toDict method on each BaseMessage, which returns a StoredMessage. This function is used to prepare chat messages for storage.
BaseMessage
StoredMessage
toDict
Generated using TypeDoc
Transforms an array of
BaseMessageinstances into an array ofStoredMessageinstances. It does this by calling thetoDictmethod on eachBaseMessage, which returns aStoredMessage. This function is used to prepare chat messages for storage.