[PR #961] [MERGED] docs: add Redis Checkpointer example #1794

Closed
opened 2026-02-20 17:45:34 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/961
Author: @DhavalThkkar
Created: 7/9/2024
Status: Merged
Merged: 7/9/2024
Merged by: @vbarda

Base: mainHead: main


📝 Commits (10+)

  • 7252f5f Added Persistence for Redis
  • e7858bc Merge branch 'langchain-ai:main' into main
  • f65e195 Added instructions to make it more detailed
  • 875cda0 Removed the instructions for installing docker
  • b517d2f Added example redis with localhost
  • 29fdacf Reshuffled doc files for merge compatibility
  • 526a389 Revert "Added example redis with localhost"
  • 9b99d00 Revert
  • 5501b4d Update docs/docs/how-tos/index.md
  • 4f37a0f Merge branch 'main' into main

📊 Changes

4 files changed (+725 additions, -0 deletions)

View changed files

📝 docs/_scripts/copy_notebooks.py (+1 -0)
📝 docs/docs/how-tos/index.md (+1 -0)
📝 docs/mkdocs.yml (+1 -0)
examples/persistence_redis.ipynb (+722 -0)

📄 Description

  1. Persistence with Redis has been added in the notebook persistence_redis.ipynb. Async and sync implementations, both have been added and tested. I have taken inspiration from persistence_postgres.ipynb and the code for In-Memory checkpointing too
  2. Changes required to get this on the documentation has also been tested and added in the relevant files so that it shows up in the examples page

First PR/Fork that I have ever made in my life. I'd definitely appreciate if you folks could guide me in this as I'm pretty sure a lot of developers might use Redis for checkpointing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/961 **Author:** [@DhavalThkkar](https://github.com/DhavalThkkar) **Created:** 7/9/2024 **Status:** ✅ Merged **Merged:** 7/9/2024 **Merged by:** [@vbarda](https://github.com/vbarda) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`7252f5f`](https://github.com/langchain-ai/langgraph/commit/7252f5f155ec17c558fad074cf7f458b780fbfe7) Added Persistence for Redis - [`e7858bc`](https://github.com/langchain-ai/langgraph/commit/e7858bc97e8251a6de434f5d935c2c949adb8951) Merge branch 'langchain-ai:main' into main - [`f65e195`](https://github.com/langchain-ai/langgraph/commit/f65e195737977416c97729bc711574c29da1d768) Added instructions to make it more detailed - [`875cda0`](https://github.com/langchain-ai/langgraph/commit/875cda0a40696dcd5bac1454c512cebb4a7d0626) Removed the instructions for installing docker - [`b517d2f`](https://github.com/langchain-ai/langgraph/commit/b517d2fc472eeac6179772f3d634b432da219151) Added example redis with `localhost` - [`29fdacf`](https://github.com/langchain-ai/langgraph/commit/29fdacf0276de1409dc596d6b0bd21123dc544a2) Reshuffled doc files for merge compatibility - [`526a389`](https://github.com/langchain-ai/langgraph/commit/526a3890016e1aeb0ba59f94d7cd7eb7c2f6577b) Revert "Added example redis with `localhost`" - [`9b99d00`](https://github.com/langchain-ai/langgraph/commit/9b99d00e5ac06afce28f06b0c4c1afd8af355d1f) Revert - [`5501b4d`](https://github.com/langchain-ai/langgraph/commit/5501b4d136fa01ef9357b1d3cb34fe19c277e29e) Update docs/docs/how-tos/index.md - [`4f37a0f`](https://github.com/langchain-ai/langgraph/commit/4f37a0f5b699a89ccc84efe498086a69b7f0c856) Merge branch 'main' into main ### 📊 Changes **4 files changed** (+725 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/_scripts/copy_notebooks.py` (+1 -0) 📝 `docs/docs/how-tos/index.md` (+1 -0) 📝 `docs/mkdocs.yml` (+1 -0) ➕ `examples/persistence_redis.ipynb` (+722 -0) </details> ### 📄 Description 1. Persistence with Redis has been added in the notebook `persistence_redis.ipynb`. Async and sync implementations, both have been added and tested. I have taken inspiration from `persistence_postgres.ipynb` and the code for `In-Memory` checkpointing too 2. Changes required to get this on the documentation has also been tested and added in the relevant files so that it shows up in the examples page First PR/Fork that I have ever made in my life. I'd definitely appreciate if you folks could guide me in this as I'm pretty sure a lot of developers might use Redis for checkpointing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:45:34 -05:00
yindo closed this issue 2026-02-20 17:45:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1794