Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何快速开始使用Fast GraphRAG?安装步骤是怎样的?

2025-09-10 1.8 K

Fast GraphRAG提供两种主要安装方式:

1. 从源代码安装(推荐性能最佳)

  1. Cloning Warehouse:git clone https://github.com/circlemind-ai/fast-graphrag
  2. Go to the catalog:cd fast-graphrag
  3. 使用poetry安装:poetry install

2. 通过PyPi安装(推荐稳定性)

只需执行:pip install fast-graphrag

快速使用指南

  1. Set the OpenAI API key:export OPENAI_API_KEY="sk-..."
  2. 下载示例文本:curl... > ./book.txt
  3. (可选)设置并发限制:export CONCURRENT_TASK_LIMIT=8

用户还可以参考文章提供的Python代码示例,快速实现知识图谱生成、查询和可视化等功能。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish