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] 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." ] }, {