Delete Memory • AI Agent SDK

delete_memory: Delete a specific memory by id. Returns True on success.

delete_memory

Method

</div>

This is a method of the DakeraMemoryAdapter class in the factories module.

Delete a specific memory by id. Returns True on success.

Signature

python
def delete_memory(memory_id: str, memory_type: Optional[str]) -> bool

Parameters

ParamField str

No description available.

ParamField Optional[str]

No description available.

Returns

ResponseField bool

The result of the operation.

Uses

  • forget
  • logging.warning

Used By

Source

View on GitHub

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


Related Documentation