LangChain retriever for traversing document graphs on top of vector-based similarity search.
LangChain Graph Retriever
LangChain Graph Retriever is a Python library that supports traversing a document graph on top of vector-based similarity search.
It works seamlessly with LangChain's retriever framework and supports various graph traversal strategies for efficient document discovery.
Features
Vector Search: Perform similarity searches using vector embeddings.
Graph Traversal: Apply traversal strategies such as breadth-first (Eager) or Maximal Marginal Relevance (MMR) to explore document relationships.
Customizable Strategies: Easily extend and configure traversal strategies to meet your specific use case.
Multiple Adapters: Support for various vector stores, including AstraDB, Cassandra, Chroma, OpenSearch, and in-memory storage.
Synchronous and Asynchronous Retrieval: Supports both sync and async workflows for flexibility in different applications.
Installation
Install the library via pip:
pip install langchain-graph-retriever
Getting Started
Here is an example of how to
- RPM
- python3-langchain-graph-retriever-0.8.0-1.lbn42.noarch.rpm
- Summary
- LangChain retriever for traversing document graphs on top of vector-based similarity search.
- URL
- https://pypi.org/project/langchain-graph-retriever
- Group
- Unspecified
- License
- ZPL
- Source
-
python-langchain-graph-retriever-0.8.0-1.lbn42.src.rpm
- Checksum
- 3080d4e5f5fa4b0b387aae00d5bb9c2019bcee5954c5945ea95f6c80c801a506
- Signing Signature
- HEX_SIG:8902330400010a001d1621045d5e2fa2
- Build Date
- 2026/05/26 09:40:11
- Requires
-
python3.13dist(langchain-core) >= 0.3.29
python3.13dist(networkx) >= 3.4.2
python3.13dist(pydantic) >= 2.0.1
python3.13dist(typing-extensions) >= 4.12.2
- Provides
-
python-langchain-graph-retriever = 0.8.0-1.lbn42
python3-langchain-graph-retriever = 0.8.0-1.lbn42
python3.13-langchain-graph-retriever = 0.8.0-1.lbn42
python3.13dist(langchain-graph-retriever) = 0.8
python3dist(langchain-graph-retriever) = 0.8
- Obsoletes