Skip to main content

search_user_memory

Method
This is a method of the Memory class in the memory module.
If mem0 is used, pass user_id in. Otherwise fallback to local filter on user in metadata.

Signature

Parameters

str
required
No description available.
str
required
No description available.
int
default:"5"
No description available.
bool
default:"False"
No description available.

Returns

List[Dict[str, Any]]
The result of the operation.

Uses

  • limit
  • find
  • search_long_term

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1588

Memory Concept

Memory Overview

Memory Configuration

Session Resume