delete() removes a specific memory record by ID, and delete_all() removes all memories matching a scope.
Delete a single memory
Method signature
Parameters
Response
Basic usage
- Hosted (lyzr-adk)
- Open Source (lyzr-cognis)
Delete all memories for a scope
Method signature
owner_id, agent_id, or session_id must be provided.
Parameters
Usage
Async usage
delete_all() is irreversible. Use Get Memories to review the records in a scope before calling it in production.