-
Hey there, I am using SqliteSaver, in memory, and at some time I would like to be able to reset to empty the state of a graph. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
Hi @Bennoo . There are a few things you can do: (1) you can just start a new thread -- it will have a new empty state Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
@Bennoo @vbarda how do you recommend same for memory saver and postgressaver? This seems like a legitimate need else your memory will keep on growing |
Beta Was this translation helpful? Give feedback.
unfortunately we don't have any resources / examples for that as it's not something we generally recommend. here is the implementation for the sqlite checkpointer with all the relevant tables / queries, so to implement that you would just need to write
DELETE FROM
sql queries