Mem0ManagedDeleteAll
Python template · sinapsis_mem0.templates.managed.delete_all
Overview
Template to delete all scoped memories from managed Mem0.
This template uses only the configured `delete_args` scope. It does not derive delete scope from packet identity.
Capabilities
Capabilities: not setInstallation
Install the published package using pip or uv.
pip install sinapsis-mem0==1.0.0uv pip install sinapsis-mem0==1.0.0uv add sinapsis-mem0==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Optional
Default: null
Explicit delete scope used directly for the managed delete operation.
Optional
Default: null
Optional app scope.
Optional
Default: null
Optional run scope.
Optional
Default: null
Optional user scope.
Optional
Default: null
Optional
Default: null
The host address for the memory configuration. Defaults to None.
Optional
Default: null
The organization ID associated with the memory configuration. Defaults to None.
Optional
Default: null
The project ID associated with the memory configuration. Defaults to None.
Optional
Default: null
Configuration example
Example from the Python docstring:
agent:
name: my_test_agent
templates:
- template_name: InputTemplate
class_name: InputTemplate
attributes: {}
- template_name: Mem0ManagedDeleteAll
class_name: Mem0ManagedDeleteAll
template_input: InputTemplate
attributes:
memory_config:
host: null
org_id: null
project_id: null
delete_args:
user_id: null
run_id: null
app_id: nullShow schema-based configuration skeleton
templates:
- template_name: "Mem0ManagedDeleteAll"
class_name: "Mem0ManagedDeleteAll"
attributes:
delete_args:
app_id: null
run_id: null
user_id: null
memory_config:
host: null
org_id: null
project_id: null
Inheritance
sinapsis_mem0.templates.managed.base.Mem0ManagedBaseEnvironment variables
Environment definitions belong to their canonical Python modules.
No directly related environment variables listed.