Skip to main content

store_user_memory

Method
This is a method of the Memory class in the memory module.
If mem0 is used, do user-based addition. Otherwise store in LTM with user in metadata.

Signature

Parameters

str
required
No description available.
str
required
No description available.
Dict[str, Any]
No description available.

Returns

Any
The result of the operation.

Uses

  • add
  • time.time_ns
  • datetime.now
  • insert_one
  • store_long_term

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1560

Memory Concept

Memory Overview

Memory Configuration

Session Resume