Discover and explore top open-source AI tools and projects—updated daily.
benmaster82Query your Markdown notes with a local Graph RAG engine
Top 97.0% on SourcePulse
Kwipu is a local Graph RAG engine designed to transform Markdown notes into a queryable knowledge graph. It addresses the need for private, natural language querying across personal knowledge bases, benefiting Obsidian users and anyone managing notes in Markdown folders. The system offers a fully local, multilingual solution without cloud reliance.
How It Works
Kwipu employs a property graph approach, extracting entity-relation triples from Markdown files. It parses Obsidian's [[wikilinks]] and YAML frontmatter, supplemented by LLM extraction for richer relationships. This structured data forms a knowledge graph index. Queries are processed via a hybrid retrieval system combining LLM synonym expansion, vector similarity search, BM25 keyword scoring, and temporal/metadata matching, before a final LLM response generation.
Quick Start & Requirements
pip install -r requirements.txtllama3.1:8b), and an embedding model (default: nomic-embed-text).ollama pull <model_name>).https://github.com/benmaster82/KwipuHighlighted Details
Maintenance & Community
Contributions are welcomed, with specific areas identified for improvement: CJK language support, retriever attribution logging, evaluation set creation, provenance inspector development, Telegram bot integration, and optimizing incremental updates for file modifications. A roadmap includes a Telegram bot for remote querying.
Licensing & Compatibility
Limitations & Caveats
CPU-only inference for larger LLM models (7B+) is noted as "not practical" due to speed. While incremental updates are supported for edits, file deletion triggers a full graph rebuild. CJK language support requires further development.
1 month ago
Inactive