What problem does it solve?
GraphMemory provides an embedded GraphRAG knowledge graph platform built on DuckDB that combines vector, full-text, and hybrid search to store, retrieve, and reason over entities and relationships.
Core Features & Use Cases
- Vector search across node vectors using HNSW with cosine, L2, or inner product metrics.
- Full-text search across node properties with BM25.
- Hybrid search that blends text and vector similarity for more relevant results.
- GraphRAG retrieval pipeline: hybrid search, graph expansion, context assembly, and LLM Q&A.
- DSPy-based extraction to populate graphs from unstructured text.
- Graph algorithms (PageRank, centrality, components) via NetworkX (optional).
- Merge/upsert of nodes and edges with fuzzy deduplication and upsert semantics.
- Import/export formats (JSON, CSV, GraphML) and a browser-based visualizer.
- Transactional safety with retry for transient errors.
Quick Start
Install graphmemory and create a GraphMemory instance, add a few Node/Edge objects, and run a simple retrieve or search.