Skip to main content

search_long_term

Method
This is a method of the Memory class in the memory module.
Search long-term memory with optional quality/metadata/user filter

Signature

Parameters

str
required
No description available.
int
default:"5"
No description available.
float
default:"0.0"
No description available.
float
default:"0.0"
No description available.
bool
default:"False"
No description available.
Optional
No description available.
Optional[str]
No description available.

Returns

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

Uses

  • logger.info
  • aggregate
  • limit
  • find
  • get_embedding
  • query
  • search_long_term
  • conn.cursor
  • fetchall
  • c.execute

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 983