Discover and explore top open-source AI tools and projects—updated daily.
neo4jPython SDK for Neo4j GraphRAG app development
Top 41.5% on SourcePulse
This package provides a Python SDK for building Graph Retrieval Augmented Generation (GraphRAG) applications, leveraging Neo4j's graph database capabilities. It's designed for developers seeking a robust, first-party solution for integrating knowledge graphs with LLMs, offering enhanced retrieval and question-answering functionalities.
How It Works
The library facilitates GraphRAG by enabling the construction and querying of knowledge graphs. It supports building knowledge graphs from text or PDFs using SimpleKGPipeline or the more customizable Pipeline class, which extract entities and relationships. For retrieval, it offers various retrievers, including VectorRetriever for similarity searches against vector indexes stored in Neo4j, and integrates with LLM providers for generation.
Quick Start & Requirements
pip install neo4j-graphragopenai, ollama) and vector databases (e.g., weaviate, pinecone) can be installed with extras: pip install "neo4j-graphrag[openai]".Highlighted Details
Text2CypherRetriever for natural language to Cypher query translation.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
5 days ago
1 day
gusye1234