Add memory to the specified session.
The ID of the session to which memory should be added.
A list of message objects, where each message contains a role and content.
Additional instruction for generating the facts. Zep Cloud Only, will be ignored on Community Edition.
Optionally return memory context relevant to the most recent messages.
Additional instruction for generating the summary. Zep Cloud Only, will be ignored on Community Edition.
An object, optionally containing memory context retrieved for the last message