LightRAG DeepWiki 中文译文
轻量图谱增强检索 DeepWiki 中文译文目录页,作为对应 2.5 项目要点页的章节入口。本页集中呈现项目定位、核心模块、章节索引和源码线索;具体中文全文请进入独立章节页阅读。
用途说明:本页仅用于内部技术调研、方案比较和工程学习;原始内容与最终核对仍以 DeepWiki 链接为准。
项目定位
轻量图谱增强检索
面向实体、关系、图索引和多模式召回。
实体抽取关系抽取混合召回图索引
核心模块
章节筛选
显示 52 / 52 项
没有匹配章节。可清除筛选后再查看完整目录。
章节目录
| ID | 章节 | 模块 | 源码线索 | 状态 |
|---|---|---|---|---|
| 1 | 总览 | 安装与启动、界面与交互、系统架构 | AGENTS.md CLAUDE.md README-zh.md |
全文译文 |
| 2 | 核心系统架构 | 图谱与关系、系统架构、检索、召回与索引 | lightrag/__init__.py lightrag/api/__init__.py lightrag/base.py |
全文译文 |
| 2.1 | LightRAG 引擎核心 | 检索、召回与索引、模型调用与提供方适配、配置治理 | lightrag/__init__.py lightrag/api/__init__.py lightrag/base.py |
全文译文 |
| 2.2 | 文档处理管线 | 入库与解析、检索、召回与索引、模型调用与提供方适配 | lightrag/base.py lightrag/exceptions.py lightrag/lightrag.py |
全文译文 |
| 2.3 | 查询处理与召回模式 | 检索、召回与索引、记忆与上下文、模型调用与提供方适配 | examples/rerank_example.py lightrag/api/routers/graph_routes.py lightrag/base.py |
全文译文 |
| 2.4 | 知识图谱操作 | 图谱与关系、检索、召回与索引、存储与持久化 | examples/insert_custom_kg.py lightrag/api/routers/graph_routes.py lightrag/base.py |
全文译文 |
| 2.5 | 并发与缓存系统 | 系统架构、接口与服务契约、模型调用与提供方适配 | docs/LightRAG_concurrent_explain.md lightrag/base.py lightrag/lightrag.py |
全文译文 |
| 3 | 存储架构 | 存储与持久化、检索、召回与索引、图谱与关系 | lightrag/base.py lightrag/kg/__init__.py lightrag/lightrag.py |
全文译文 |
| 3.1 | 存储抽象与接口 | 图谱与关系、检索、召回与索引、存储与持久化 | lightrag/base.py lightrag/kg/__init__.py lightrag/lightrag.py |
全文译文 |
| 3.2 | 关系型数据库实现 | 存储与持久化、图谱与关系、测试、发布与运维 | lightrag/kg/json_doc_status_impl.py lightrag/kg/json_kv_impl.py lightrag/kg/mongo_impl.py |
全文译文 |
| 3.3 | NoSQL 数据库实现 | 测试、发布与运维、存储与持久化、界面与交互 | lightrag/kg/json_doc_status_impl.py lightrag/kg/json_kv_impl.py lightrag/kg/mongo_impl.py |
全文译文 |
| 3.4 | 向量数据库实现 | 存储与持久化、检索、召回与索引、界面与交互 | docs/MilvusConfigurationGuide.md examples/milvus_kwargs_configuration_demo.py lightrag/kg/deprecated/chroma_impl.py |
全文译文 |
| 3.5 | 图数据库实现 | 图谱与关系、存储与持久化、测试、发布与运维 | examples/modalprocessors_example.py examples/raganything_example.py lightrag/kg/faiss_impl.py |
全文译文 |
| 3.6 | 基于文件的存储选项 | 存储与持久化、图谱与关系、检索、召回与索引 | lightrag/kg/json_doc_status_impl.py lightrag/kg/json_kv_impl.py lightrag/kg/mongo_impl.py |
全文译文 |
| 3.7 | 多进程协同 | 存储与持久化、系统架构、测试、发布与运维 | docs/LightRAG_concurrent_explain.md env.example lightrag/api/config.py |
全文译文 |
| 3.8 | 工作空间与命名空间隔离 | 配置治理、测试、发布与运维、存储与持久化 | lightrag/kg/memgraph_impl.py lightrag/kg/neo4j_impl.py lightrag/namespace.py |
全文译文 |
| 3.9 | 数据迁移与模式演进 | 检索、召回与索引、测试、发布与运维、存储与持久化 | lightrag/evaluation/README_EVALUASTION_RAGAS.md lightrag/kg/json_doc_status_impl.py lightrag/kg/json_kv_impl.py |
全文译文 |
| 4 | 接口服务端 | 接口与服务契约、界面与交互、检索、召回与索引 | env.example lightrag/__init__.py lightrag/api/__init__.py |
全文译文 |
| 4.1 | 服务端架构与生命周期 | 接口与服务契约、模型调用与提供方适配、测试、发布与运维 | env.example lightrag/api/config.py lightrag/api/lightrag_server.py |
全文译文 |
| 4.2 | 文档管理 API | 接口与服务契约、系统架构、存储与持久化 | env.example lightrag/api/config.py lightrag/api/lightrag_server.py |
全文译文 |
| 4.3 | 查询与召回 API | 检索、召回与索引、接口与服务契约、记忆与上下文 | lightrag/api/routers/ollama_api.py lightrag/api/routers/query_routes.py lightrag/evaluation/__init__.py |
全文译文 |
| 4.4 | 图谱探索 API | 图谱与关系、检索、召回与索引、测试、发布与运维 | lightrag/api/routers/graph_routes.py lightrag/utils_graph.py tests/test_description_api_validation.py |
全文译文 |
| 4.5 | Ollama API 兼容性 | 接口与服务契约、记忆与上下文、检索、召回与索引 | lightrag/api/routers/ollama_api.py lightrag/api/routers/query_routes.py lightrag/evaluation/__init__.py |
全文译文 |
| 4.6 | 认证与安全 | 认证、权限与安全、文档对象与元数据、测试、发布与运维 | SECURITY.md lightrag/api/auth.py lightrag/api/gunicorn_config.py |
全文译文 |
| 5 | Web 用户接口 | 界面与交互、图谱与关系、测试、发布与运维 | docs/FrontendBuildGuide.md lightrag_webui/README.md lightrag_webui/bun.lock |
全文译文 |
| 5.1 | 前端架构 | 系统架构、界面与交互、配置治理 | lightrag_webui/src/App.tsx lightrag_webui/src/AppRouter.tsx lightrag_webui/src/features/LoginPage.tsx |
全文译文 |
| 5.2 | 文档管理接口 | 文档对象与元数据、测试、发布与运维、界面与交互 | lightrag_webui/src/api/lightrag.test.ts lightrag_webui/src/api/lightrag.ts lightrag_webui/src/components/documents/ClearDocumentsDialog.tsx |
全文译文 |
| 5.3 | 知识图谱可视化 | 图谱与关系、界面与交互、系统架构 | lightrag_webui/src/components/graph/EditablePropertyRow.tsx lightrag_webui/src/components/graph/GraphControl.tsx lightrag_webui/src/components/graph/GraphLabels.tsx |
全文译文 |
| 5.4 | 召回测试界面 | 界面与交互、记忆与上下文、检索、召回与索引 | lightrag_webui/bun.lock lightrag_webui/eslint.config.js lightrag_webui/package.json |
全文译文 |
| 5.5 | 国际化与设置 | 系统架构、界面与交互、配置治理 | lightrag_webui/src/components/AppSettings.tsx lightrag_webui/src/components/ThemeProvider.tsx lightrag_webui/src/components/ThemeToggle.tsx |
全文译文 |
| 5.6 | 前端构建系统 | 界面与交互、系统架构、接口与服务契约 | lightrag_webui/.env.development lightrag_webui/bun.lock lightrag_webui/env.development.smaple |
全文译文 |
| 6 | LLM 与外部服务 | 检索、召回与索引、模型调用与提供方适配、接口与服务契约 | examples/unofficial-sample/lightrag_embedding_prefixes.py lightrag/llm/anthropic.py lightrag/llm/azure_openai.py |
全文译文 |
| 6.1 | 提供方集成架构 | 模型调用与提供方适配、接口与服务契约、测试、发布与运维 | examples/unofficial-sample/lightrag_embedding_prefixes.py lightrag/base.py lightrag/lightrag.py |
全文译文 |
| 6.2 | 大模型提供方 | 模型调用与提供方适配、测试、发布与运维、存储与持久化 | examples/unofficial-sample/lightrag_bedrock_demo.py examples/unofficial-sample/lightrag_cloudflare_demo.py examples/unofficial-sample/lightrag_embedding_prefixes.py |
全文译文 |
| 6.3 | 嵌入服务 | 模型调用与提供方适配、检索、召回与索引、测试、发布与运维 | docs/AsymmetricEmbedding.md docs/LightRAG-API-Server-zh.md docs/LightRAG-API-Server.md |
全文译文 |
| 6.4 | 重排序集成 | 检索、召回与索引、模型调用与提供方适配、系统架构 | examples/rerank_example.py lightrag/rerank.py tests/test_overlap_validation.py |
全文译文 |
| 6.5 | 配置与绑定选项 | 模型调用与提供方适配、配置治理、文档对象与元数据 | env.example lightrag/api/config.py lightrag/api/lightrag_server.py |
全文译文 |
| 6.6 | 思维链与高级功能 | 模型调用与提供方适配、文档对象与元数据、测试、发布与运维 | docs/AdvancedFeatures.md docs/ProgramingWithCore.md docs/Reproduce.md |
全文译文 |
| 7 | 部署 | 安装与启动、配置治理、测试、发布与运维 | .dockerignore Dockerfile Dockerfile.lite |
全文译文 |
| 7.1 | Docker 部署 | 存储与持久化、安装与启动、测试、发布与运维 | .dockerignore Dockerfile Dockerfile.lite |
全文译文 |
| 7.2 | 环境配置 | 模型调用与提供方适配、安装与启动、存储与持久化 | AGENTS.md CLAUDE.md Makefile |
全文译文 |
| 7.3 | 生产部署与 Gunicorn | 测试、发布与运维、认证、权限与安全、系统架构 | lightrag/api/auth.py lightrag/api/gunicorn_config.py lightrag/api/passwords.py |
全文译文 |
| 7.4 | Kubernetes 部署 | 存储与持久化、配置治理、安装与启动 | k8s-deploy/README-zh.md k8s-deploy/README.md k8s-deploy/databases/00-config.sh |
全文译文 |
| 7.5 | 离线部署 | 存储与持久化、检索、召回与索引、接口与服务契约 | docs/LightRAG-API-Server.assets/image-20250323122538997.png docs/LightRAG-API-Server.assets/image-20250323122754387.png docs/LightRAG-API-Server.assets/image-20250323123011220.png |
全文译文 |
| 7.6 | CI/CD 与发布流程 | 测试、发布与运维、文档对象与元数据、安装与启动 | .github/CONTRIBUTING.md .github/dependabot.yml .github/workflows/copilot-setup-steps.yml |
全文译文 |
| 8 | 开发与工具 | 安装与启动、测试、发布与运维、智能体运行时 | AGENTS.md CLAUDE.md config.ini.example |
全文译文 |
| 8.1 | 包结构与依赖 | 测试、发布与运维、文档对象与元数据、安装与启动 | MANIFEST.in lightrag/llm/binding_options.py lightrag/tools/__init__.py |
全文译文 |
| 8.2 | 3D 图谱可视化工具 | 系统架构、界面与交互、图谱与关系 | lightrag/tools/__init__.py lightrag/tools/lightrag_visualizer/README-zh.md lightrag/tools/lightrag_visualizer/README.md |
全文译文 |
| 8.3 | 测试框架 | 测试、发布与运维、检索、召回与索引、图谱与关系 | .github/CONTRIBUTING.md .github/workflows/copilot-setup-steps.yml .github/workflows/linting.yaml |
全文译文 |
| 8.4 | RAG 质量评估 | 模型调用与提供方适配、配置治理、检索、召回与索引 | lightrag/api/routers/ollama_api.py lightrag/api/routers/query_routes.py lightrag/evaluation/__init__.py |
全文译文 |
| 8.5 | 示例与快速开始 | 检索、召回与索引、模型调用与提供方适配、图谱与关系 | .gitignore examples/graph_visual_with_html.py examples/graph_visual_with_neo4j.py |
全文译文 |
| 9 | 术语表 | 图谱与关系、检索、召回与索引、存储与持久化 | README-zh.md README.md env.example |
全文译文 |