SuperAPIAI Directory

tiny-graphrag

github.com · AI developer platforms

Tiny-Graphrag is a simplified version of a GraphRAG implementation, with the goal of providing a fully functional GraphRAG system with minimal code. The project implements the complete process of adding documents and supports local queries and global queries. Tiny-Graphrag runs with dependencies on OpenJDK and Neo4j and the GDS plugin, and currently only supports zhipu's LLM and Embedding services. Adding documents supports all text format files. After processing is complete, a workspace folder will be generated in the current directory, containing community, chunk, and doc information. The repository additionally provides documentation explaining the core code, making it easier for beginners to understand the overall structure of the project. The author explicitly states that Tiny-Graphrag is a simplified implementation and is not suitable for production environments.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

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:

  1. 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.
  2. 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.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools