From d08ed5f42e9b8c3783ff66f92bd67d12992cced7 Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Wed, 30 Apr 2025 15:08:18 -0400 Subject: [PATCH] docs(agents): add store semantic search link (#4483) --- docs/docs/agents/memory.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/agents/memory.md b/docs/docs/agents/memory.md index 9b9b33144..3ea899f37 100644 --- a/docs/docs/agents/memory.md +++ b/docs/docs/agents/memory.md @@ -360,6 +360,10 @@ store.get(("users",), "user_123").value 5. The `put` method is used to store data in the store. The first argument is the namespace, and the second argument is the key. This will store the user information in the store. 6. The `user_id` is passed in the config. This is used to identify the user whose information is being updated. +### Semantic search + +LangGraph also allows you to do [search](https://langchain-ai.github.io/langgraph/how-tos/memory/semantic-search/#using-in-create-react-agent) for items in long-term memory by semantic similarity. + ### Prebuilt memory tools **LangMem** is a LangChain-maintained library that offers tools for managing long-term memories in your agent. See the [LangMem documentation](https://langchain-ai.github.io/langmem/) for usage examples.