From 3ff1f8133319e8a91ae4a573a34b547c1c9923c9 Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:19:14 -0800 Subject: [PATCH 1/3] Add doc to index (#2632) --- docs/docs/how-tos/index.md | 3 ++- docs/docs/how-tos/memory/semantic-search.ipynb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docs/how-tos/index.md b/docs/docs/how-tos/index.md index e579902d9..5efbe1969 100644 --- a/docs/docs/how-tos/index.md +++ b/docs/docs/how-tos/index.md @@ -39,7 +39,8 @@ LangGraph makes it easy to manage conversation [memory](../concepts/memory.md) i - [How to manage conversation history](memory/manage-conversation-history.ipynb) - [How to delete messages](memory/delete-messages.ipynb) - [How to add summary conversation memory](memory/add-summary-conversation-history.ipynb) -- [Add long-term memory (cross-thread)](cross-thread-persistence.ipynb) +- [How to add long-term memory (cross-thread)](cross-thread-persistence.ipynb) +- [How to use semantic search for long-term memory](memory/semantic-search.ipynb) ### Human-in-the-loop diff --git a/docs/docs/how-tos/memory/semantic-search.ipynb b/docs/docs/how-tos/memory/semantic-search.ipynb index 0c2a6e17f..8d61e18bc 100644 --- a/docs/docs/how-tos/memory/semantic-search.ipynb +++ b/docs/docs/how-tos/memory/semantic-search.ipynb @@ -43,7 +43,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Next, create the store." + "Next, create the store with an [index configuration](https://langchain-ai.github.io/langgraph/reference/store/#langgraph.store.base.IndexConfig). By default, stores are configured without semantic/vector search. You can opt in to indexing items when creating the store by providing an [IndexConfig](https://langchain-ai.github.io/langgraph/reference/store/#langgraph.store.base.IndexConfig) to the store's constructor. If your store class does not implement this interface, or if you do not pass in an index configuration, semantic search is disabled, and all `index` arguments passed to `put` or `aput` will have no effect. Below is an exmaple." ] }, { From c89e84fb6a1cbf07ce81cefa349075087d236a86 Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:24:35 -0800 Subject: [PATCH 2/3] nit: Spelling (#2633) --- docs/docs/how-tos/memory/semantic-search.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/how-tos/memory/semantic-search.ipynb b/docs/docs/how-tos/memory/semantic-search.ipynb index 8d61e18bc..24905e625 100644 --- a/docs/docs/how-tos/memory/semantic-search.ipynb +++ b/docs/docs/how-tos/memory/semantic-search.ipynb @@ -43,7 +43,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Next, create the store with an [index configuration](https://langchain-ai.github.io/langgraph/reference/store/#langgraph.store.base.IndexConfig). By default, stores are configured without semantic/vector search. You can opt in to indexing items when creating the store by providing an [IndexConfig](https://langchain-ai.github.io/langgraph/reference/store/#langgraph.store.base.IndexConfig) to the store's constructor. If your store class does not implement this interface, or if you do not pass in an index configuration, semantic search is disabled, and all `index` arguments passed to `put` or `aput` will have no effect. Below is an exmaple." + "Next, create the store with an [index configuration](https://langchain-ai.github.io/langgraph/reference/store/#langgraph.store.base.IndexConfig). By default, stores are configured without semantic/vector search. You can opt in to indexing items when creating the store by providing an [IndexConfig](https://langchain-ai.github.io/langgraph/reference/store/#langgraph.store.base.IndexConfig) to the store's constructor. If your store class does not implement this interface, or if you do not pass in an index configuration, semantic search is disabled, and all `index` arguments passed to `put` or `aput` will have no effect. Below is an example." ] }, { From 962a969fbae564ce8392b7803573fd0b79e8914f Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:09:04 -0800 Subject: [PATCH 3/3] Update link (#2634) --- docs/docs/concepts/persistence.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/concepts/persistence.md b/docs/docs/concepts/persistence.md index e3f3c05cc..8f4aa993a 100644 --- a/docs/docs/concepts/persistence.md +++ b/docs/docs/concepts/persistence.md @@ -427,7 +427,7 @@ When we use the LangGraph Platform, either locally (e.g., in LangGraph Studio) o } ``` -See the [deployment guide](../deployment/semantic_search.md) for more details and configuration options. +See the [deployment guide](../cloud/deployment/semantic_search.md) for more details and configuration options. ## Checkpointer libraries