从源码安装

学习如何从源代码安装 NodeRAG。 本指南为希望从源代码构建的开发者提供了分步说明。

前提条件

在从源码安装 NodeRAG 之前,请确保您具备以下要求:

  • Python 3.10 或更高版本
  • Git
  • Miniconda
  • 在以下文件中列出的其他依赖项:
    • requirements.txt - 核心依赖项
    • requirements.in - 开发依赖项

开始

环境

从源码克隆

git clone https://github.com/Terry-Xu-666/NodeRAG.git
cd NodeRAG

Conda

conda create -n NodeRAG python=3.10
conda activate NodeRAG

安装

pip install uv
uv pip install requirements.txt
pip install requirements.txt

下一步,请参阅构建文档以索引您的语料库。


Last modified April 5, 2025: update reproduce (f23a25c)