Tiny-Graphrag is a simplified version of a GraphRAG implementation, aiming to provide the simplest GraphRAG system with all necessary features. The project implements the complete process of adding documents, as well as local query and global query functionality.
Main capabilities and process:
- Add documents: Use TinyGraph to add documents; currently all text format files are supported. This step may take a long time. After it is completed, a workspace folder will be generated in the current directory, containing community, chunk, and doc information.
- Query: After adding documents is complete, TinyGraph can be used for queries, supporting local queries and global queries.
Environment dependencies: Tiny-Graphrag requires specific versions of Neo4j and JDK, as well as the GDS plugin. The materials explicitly mention OpenJDK: 17.0.12.
Model service configuration: The LLM and Embedding services to be used need to be configured. Currently, only zhipu's LLM and Embedding services are supported.
Learning materials: This repository provides documentation explaining the core code of the Tiny-Graphrag project, intended to help beginners quickly understand the entire project. For details, see Tiny-Graphrag_User_Guide_and_Code_Documentation.md.
Reference projects: Several projects were referenced during the writing of Tiny-Graphrag (the materials do not list specific names).
Applicable scenarios and limitations: Tiny-Graphrag is a simplified version of a GraphRAG implementation and is not suitable for production environments. If a more complete GraphRAG implementation is needed, it is recommended to use the projects it references.