Reset Long Term • AI Agent SDK

reset_long_term: Clear local LTM DB, plus Chroma, MongoDB, or mem0 if in use.

reset_long_term

Method

</div>

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

python
def reset_long_term() -> Any

Returns

ResponseField Any

The result of the operation.

Uses

  • reset_long_term
  • logger.warning
  • conn.execute
  • conn.commit
  • delete_many
  • delete_collection

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1428