add delete and reset in docs (#1488)
This commit is contained in:
@@ -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" />
|
||||||
Reference in New Issue
Block a user