Semantic Search for LangGraph Memory
LangGraph has added semantic search to its BaseStore, available in open source PostgresStore and InMemoryStore. Semantic search allows agents to retrieve relevant information based on meaning rather than exact matches, improving their ability to use stored knowledge effectively. The implementation includes support for natural language query terms and the option to customize embedding logic or define custom functions. Users can configure their server to embed new items through a store configuration in their langgraph.json file. Migration is non-breaking, with all operations working as before. LangGraph has updated its documentation and templates to demonstrate semantic search in action.
Company
LangChain
Date published
Dec. 5, 2024
Author(s)
langgraph
Word count
692
Language
English
Hacker News points
None found.