docs: add a note for shared memory to persistence how-to (#1975)

This commit is contained in:
Vadym Barda
2024-10-02 18:41:23 +00:00
committed by GitHub
parent 7ecc672e61
commit e48d9d3c38
+8 -1
View File
@@ -34,7 +34,14 @@
"\n",
"This works for [StateGraph](https://langchain-ai.github.io/langgraph/reference/graphs/#langgraph.graph.StateGraph) and all its subclasses, such as [MessageGraph](https://langchain-ai.github.io/langgraph/reference/graphs/#messagegraph).\n",
"\n",
"Below is an example.\n",
"This guide shows how you can add memory to your graph.\n",
"\n",
"<div class=\"admonition tip\">\n",
" <p class=\"admonition-title\">Note</p>\n",
" <p>\n",
" In this how-to, we add memory that is scoped to a single conversation (session). If you need memory that is <b>shared</b> across multiple conversations or users, check out this <a href=\"https://langchain-ai.github.io/langgraph/how-tos/memory/shared-state/\">how-to guide</a>).\n",
" </p>\n",
"</div>\n",
"\n",
"<div class=\"admonition tip\">\n",
" <p class=\"admonition-title\">Note</p>\n",