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
def delete_memory(memory_id: str, memory_type: Optional[str]) -> boolParameters
ParamField
strNo description available.
ParamField
Optional[str]No description available.
Returns
ResponseField
boolThe result of the operation.
Uses
forgetlogging.warning
Used By
DakeraMemoryAdapter.delete_memoriesMemory.delete_short_termMemory.delete_long_termMemory.delete_memoriesMemory.forget
Source
View on GitHubpraisonaiagents/memory/adapters/factories.py at line 782