langgraph checkpoint: new library for checkpoint interfaces (#1163)

---------

Co-authored-by: Nuno Campos <nuno@langchain.dev>
This commit is contained in:
Vadym Barda
2024-07-31 16:45:52 -04:00
committed by GitHub
co-authored by Nuno Campos
parent 913a2d975b
commit ae74825ea7
54 changed files with 10660 additions and 9415 deletions
+4 -2
View File
@@ -7,6 +7,8 @@ You can [compile][langgraph.graph.MessageGraph.compile] any LangGraph workflow w
- Resilience for long-running, error-prone agents
- Time travel retry and branch from a previous checkpoint
Key checkpointer interfaces and primitives are defined in [`langgraph_checkpoint`](https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint) library.
### Checkpoint
::: langgraph.checkpoint.base.Checkpoint
@@ -21,7 +23,7 @@ You can [compile][langgraph.graph.MessageGraph.compile] any LangGraph workflow w
### SerializerProtocol
::: langgraph.checkpoint.SerializerProtocol
::: langgraph.checkpoint.base.SerializerProtocol
## Implementations
@@ -33,7 +35,7 @@ LangGraph also natively provides the following checkpoint implementations.
### AsyncSqliteSaver
::: langgraph.checkpoint.aiosqlite.AsyncSqliteSaver
::: langgraph.checkpoint.sqlite.aio.AsyncSqliteSaver
### SqliteSaver