Discover and explore top open-source AI tools and projects—updated daily.
littlewwwhiteKnowledge Graph-powered LLM dialog system for intelligent Q&A
Top 65.6% on SourcePulse
This project, ChatKG, offers an intelligent Q&A system by integrating large language models (LLMs) with knowledge graphs (KGs) constructed from raw text. It targets users needing sophisticated information retrieval and conversational interfaces, automating KG construction, completion, and leveraging ChatGLM-6B for dialogue. The system provides precise information retrieval and interactive visualization capabilities.
How It Works
The system processes raw text through data preprocessing, then utilizes PaddleNLP's UIE model for entity and relation extraction to build an initial KG. This KG is iteratively refined and expanded using the SPN4RE model for relation extraction and graph completion. ChatGLM-6B powers a multi-turn dialogue service that queries the KG, complemented by a Vue.js frontend for chat and KG visualization.
Quick Start & Requirements
pip install -r requirements.txt). Frontend requires Node.js 16+ and npm install..env) for model paths and GPU IDs. Data preparation involves placing raw text files in data/raw_data/.Highlighted Details
Maintenance & Community
The project is primarily maintained by the author, littlewwwhite. No specific community channels (like Discord/Slack) or major corporate sponsorships are highlighted. Contributions are welcomed via Pull Requests.
Licensing & Compatibility
The project is released under the MIT License. This license is permissive and generally compatible with commercial use and integration into closed-source projects.
Limitations & Caveats
The system has significant hardware requirements, specifically demanding high-end NVIDIA GPUs with substantial VRAM (24GB+). Installation requires strict adherence to specific library versions (PyTorch, PaddlePaddle) tied to CUDA versions, posing a potential setup hurdle. The project appears to be largely driven by a single maintainer, which could impact long-term support and development velocity.
1 month ago
Inactive