add delete and reset in docs (#1488)

This commit is contained in:
Dev Khant
2024-07-17 22:17:16 +05:30
committed by GitHub
parent 2a43aa6902
commit da435bc025

View File

@@ -190,6 +190,21 @@ Output:
] ]
``` ```
### Delete Memory
```python
m.delete(memory_id="m1") # Delete a memory
m.delete_all(user_id="alice") # Delete all memories
```
### Reset Memory
```python
m.reset() # Reset all memories
```
If you have any questions, please feel free to reach out to us using one of the following methods: If you have any questions, please feel free to reach out to us using one of the following methods:
<Snippet file="get-help.mdx" /> <Snippet file="get-help.mdx" />