From 4a8510b6902bb98069a459238f084501fa7a9b73 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Thu, 3 Oct 2024 13:47:59 -0400 Subject: [PATCH] docs: minor formatting change for how to docs --- docs/docs/how-tos/persistence_mongodb.ipynb | 6 +++--- docs/docs/how-tos/persistence_postgres.ipynb | 4 +++- docs/docs/how-tos/persistence_redis.ipynb | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/docs/how-tos/persistence_mongodb.ipynb b/docs/docs/how-tos/persistence_mongodb.ipynb index 31e3b8bd7..0d51b252e 100644 --- a/docs/docs/how-tos/persistence_mongodb.ipynb +++ b/docs/docs/how-tos/persistence_mongodb.ipynb @@ -37,10 +37,10 @@ "

\n", "\n", "\n", - "For demonstration purposes we add persistence to the [pre-built create react agent](https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent), but you can add a checkpointer to any custom graph that you build.\n", + "For demonstration purposes we add persistence to the [pre-built create react agent](https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent).\n", + "\n", + "In general, you can add a checkpointer to any custom graph that you build like this:\n", "\n", - "## TLDR\n", - " \n", "```python\n", "from langgraph.graph import StateGraph\n", "\n", diff --git a/docs/docs/how-tos/persistence_postgres.ipynb b/docs/docs/how-tos/persistence_postgres.ipynb index aa21bc2ec..9bcfeaada 100644 --- a/docs/docs/how-tos/persistence_postgres.ipynb +++ b/docs/docs/how-tos/persistence_postgres.ipynb @@ -30,7 +30,9 @@ "\n", "This how-to guide shows how to use `Postgres` as the backend for persisting checkpoint state using the [`langgraph-checkpoint-postgres`](https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint-postgres) library.\n", "\n", - "For demonstration purposes we add persistence to the [pre-built create react agent](https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent), but you can add a checkpointer to any custom graph that you build.\n", + "For demonstration purposes we add persistence to the [pre-built create react agent](https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent). \n", + "\n", + "In general, you can add a checkpointer to any custom graph that you build like this:\n", "\n", "```python\n", "from langgraph.graph import StateGraph\n", diff --git a/docs/docs/how-tos/persistence_redis.ipynb b/docs/docs/how-tos/persistence_redis.ipynb index 97d06c8c9..6a9219314 100644 --- a/docs/docs/how-tos/persistence_redis.ipynb +++ b/docs/docs/how-tos/persistence_redis.ipynb @@ -37,8 +37,9 @@ "

\n", "\n", "\n", - "For demonstration purposes we add persistence to the [pre-built create react agent](https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent), but you can add a checkpointer to any custom graph that you build.\n", + "For demonstration purposes we add persistence to the [pre-built create react agent](https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent).\n", "\n", + "In general, you can add a checkpointer to any custom graph that you build like this:\n", "\n", "```python\n", "from langgraph.graph import StateGraph\n",