-
Is it possible to maintain state of the graph in an external store? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Sharing the response I got from LangServe support: yes we have full support to back persistence with a database. we have written adapters for redis, postgres and sqlite (others are supported we can guide you on it if needed) we have some reference docs for checkpoint format here https://langchain-ai.github.io/langgraph/reference/checkpoints/?h=check and a guide for sqlite adapter here https://langchain-ai.github.io/langgraph/tutorials/introduction/#part-3-adding-memory-to-the-chatbot redis/postgres would be exactly same just using a different adapter class |
Beta Was this translation helpful? Give feedback.
-
@erksubasi @cgoncalves94 @kmillanrfractal @DhavalThkkar @hodgesz Hi, guys. I hope you all are doing well. Check these langgraph examples with implementation for checkpointer using redis, mongodb, postgress. https://github.com/langchain-ai/langgraph/blob/main/examples/persistence_postgres.ipynb |
Beta Was this translation helpful? Give feedback.
Sharing the response I got from LangServe support:
yes we have full support to back persistence with a database. we have written adapters for redis, postgres and sqlite (others are supported we can guide you on it if needed)
we have some reference docs for checkpoint format here https://langchain-ai.github.io/langgraph/reference/checkpoints/?h=check
and a guide for sqlite adapter here https://langchain-ai.github.io/langgraph/tutorials/introduction/#part-3-adding-memory-to-the-chatbot
redis/postgres would be exactly same just using a different adapter class