Converts Zep Memory to a list of BaseMessages, preserving the structure. Creates a SystemMessage from summary and facts, and converts the rest of the messages to their corresponding message types.
The memory object containing conversation history.
The prefix to use for human messages (default: "Human").
The prefix to use for AI messages (default: "AI").
An array of BaseMessage objects representing the conversation history.
Converts Zep Memory to a list of BaseMessages, preserving the structure. Creates a SystemMessage from summary and facts, and converts the rest of the messages to their corresponding message types.