zhaishuai / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system

Home Page:https://microsoft.github.io/graphrag/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphRAG customized by KylinMountain

  • I have added websever to support streaming output immediately.
  • I have fixed error when using local embedding service like LM Studio
  • I have fixed index error after prompt tune
  • I have fixed the strategy not loaded when setting entity extraction using NLTK.
  • I have added advice question api
  • I have added reference link to the entity、report or relationship refered in output, you can access it.
  • Support any desktop application or web application compatible with OpenAI SDK.

GraphRAG 定制版

  • 我添加了Web服务器,以支持真即时流式输出。
  • 我修复了使用本地嵌入服务(如LM Studio)时的错误。
  • 我修复了提示调整后索引错误的问题。
  • 我修复了在使用NLTK设置实体提取时策略未加载的问题。
  • 我添加了建议问题API。
  • 我添加了实体或者关系等链接到输出中,你可以直接点击访问参考实体、关系、数据源或者报告。
  • 支持任意兼容OpenAI大模型桌面应用或者Web应用UI接入。

image

image

GraphRAG

👉 Use the GraphRAG Accelerator solution
👉 Microsoft Research Blog Post
👉 Read the docs
👉 GraphRAG Arxiv

Overview

The GraphRAG project is a data pipeline and transformation suite that is designed to extract meaningful, structured data from unstructured text using the power of LLMs.

To learn more about GraphRAG and how it can be used to enhance your LLMs ability to reason about your private data, please visit the Microsoft Research Blog Post.

Quickstart

To get started with the GraphRAG system we recommend trying the Solution Accelerator package. This provides a user-friendly end-to-end experience with Azure resources.

Repository Guidance

This repository presents a methodology for using knowledge graph memory structures to enhance LLM outputs. Please note that the provided code serves as a demonstration and is not an officially supported Microsoft offering.

⚠️ Warning: GraphRAG indexing can be an expensive operation, please read all of the documentation to understand the process and costs involved, and start small.

Diving Deeper

Prompt Tuning

Using GraphRAG with your data out of the box may not yield the best possible results. We strongly recommend to fine-tune your prompts following the Prompt Tuning Guide in our documentation.

Responsible AI FAQ

See RAI_TRANSPARENCY.md

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Privacy

Microsoft Privacy Statement

About

A modular graph-based Retrieval-Augmented Generation (RAG) system

https://microsoft.github.io/graphrag/

License:MIT License


Languages

Language:Python 94.6%Language:Jupyter Notebook 3.6%Language:HTML 0.8%Language:Nunjucks 0.5%Language:Jinja 0.2%Language:CSS 0.1%Language:JavaScript 0.1%Language:Shell 0.1%