Skip to main content

reset_long_term

Method
This is a method of the Memory class in the memory module.
Clear local LTM DB, plus Chroma, MongoDB, or mem0 if in use.

Signature

def reset_long_term() -> Any

Returns

Returns
Any
The result of the operation.

Uses

  • sqlite3.connect
  • conn.execute
  • conn.commit
  • conn.close
  • delete_many
  • reset

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1050