Skip to main content

reset_short_term

Method
This is a method of the ChromaMemoryAdapter class in the factories module.
Clear this adapter’s memory. NOTE: this adapter stores short-term and long-term in a single shared collection (store_short_term/search_short_term delegate to their long-term counterparts and no memory_type tag is recorded), so per-tier scoping is not possible here — resetting short-term also clears long-term. Use a tier-aware backend (e.g. the Dakera adapter) if you need to erase a single tier.

Signature

Used By

Source

View on GitHub

praisonaiagents/memory/adapters/factories.py at line 390