You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
https://github.com/langchain-ai/langgraphjs/blob/27c9e8182753453c8461f56b023ef602f05397c9/libs/checkpoint/src/memory.ts#L316C6-L316C52
Description
I am deepping learning and understanding the
Persistence
in LangGraph.js.And there is one small question to me about the implementation of the
MemorySaver
The type definenation of the
storage
property in MemorySaver class is :In the
put()
method, we can see how we store the data:https://github.com/langchain-ai/langgraphjs/blob/27c9e8182753453c8461f56b023ef602f05397c9/libs/checkpoint/src/memory.ts#L316C6-L316C52
So my question is what's the difference between the
id
property of thecheckpoint
argument with theconfig.configurable.checkpoint_id
?And I also found there is a method
getCheckpointId()
will be used ingetTurple()
method, what's difference between these three checkIds?Is there any more docs that I can learn more about the checkpoint and the mechanism of the checkpoint id?
System Info
The latest version of the langgraph.js
Beta Was this translation helpful? Give feedback.
All reactions