Skip to main content

GraphRAG: A graph-based retrieval-augmented generation (RAG) system.

Project description

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 LLM's 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.

Versioning

Please see the breaking changes document for notes on our approach to versioning the project.

Always run graphrag init --root [path] --force between minor version bumps to ensure you have the latest config format. Run the provided migration notebook between major version bumps if you want to avoid re-indexing prior datasets. Note that this will overwrite your configuration and prompts, so backup if necessary.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphrag-2.2.0.tar.gz (209.7 kB view details)

Uploaded Source

Built Distribution

graphrag-2.2.0-py3-none-any.whl (364.8 kB view details)

Uploaded Python 3

File details

Details for the file graphrag-2.2.0.tar.gz.

File metadata

  • Download URL: graphrag-2.2.0.tar.gz
  • Upload date:
  • Size: 209.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for graphrag-2.2.0.tar.gz
Algorithm Hash digest
SHA256 0e539e18ef96f72c0a747a11861faeda46e1decb517835a3b829940c31d4f132
MD5 83cf862edb26e8aa9e4a7d8e147368f3
BLAKE2b-256 003d8207518b3a1726b8dd5a7b4a434fbec500624837f369ca4131046e5f78b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphrag-2.2.0.tar.gz:

Publisher: python-publish.yml on microsoft/graphrag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphrag-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: graphrag-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 364.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for graphrag-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8e5834796abff1184d0c13c56f1a610db82d4908ab5265cd800aefe629dd401
MD5 97e2047699a7e01ad504f924a44d26f6
BLAKE2b-256 39a8edc5a4d3b7db8464837d032f5e61e21558ff4c481bde784895f13d9d35a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphrag-2.2.0-py3-none-any.whl:

Publisher: python-publish.yml on microsoft/graphrag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page