Returns a memory for a given session.
The ID of the session for which to retrieve memory.
The number of most recent memory entries to retrieve.
The minimum rating by which to filter relevant facts.
OK
Memory context containing relevant facts and entities for the session. Can be put into the prompt directly.
Most recent list of facts derived from the session. Deprecated: Use relevant_facts instead.
A list of message objects, where each message contains a role and content. Only last_n messages will be returned
Deprecated
Most relevant facts to the recent messages in the session.
Deprecated: Use context string instead.