{"data":{"slug":"datawhalechina-all-in-rag","name":"all-in-rag","tagline":"🔍 检索增强生成 (RAG) 技术全栈指南","github_url":"https://github.com/datawhalechina/all-in-rag","owner":"datawhalechina","repo":"all-in-rag","owner_avatar_url":"https://avatars.githubusercontent.com/u/46047812?v=4","primary_language":"Python","stars":10437,"forks":5170,"topics":["ai","deepseek","embedding","kimi-k2","langchain","llama-index","llm","milvus","multimodal","neo4j","python","rag"],"archived":false,"github_pushed_at":"2026-07-29T11:43:11+00:00","maintenance_label":"Active","stars_delta_30d":815,"url":"https://www.graphcanon.com/tools/datawhalechina-all-in-rag","markdown_url":"https://www.graphcanon.com/tools/datawhalechina-all-in-rag.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/datawhalechina-all-in-rag","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=datawhalechina-all-in-rag","description":"🔍大模型应用开发实战一：RAG 技术全栈指南，在线阅读地址：https://datawhalechina.github.io/all-in-rag/","homepage_url":"https://datawhalechina.github.io/all-in-rag/","license":null,"open_issues":23,"watchers":26,"ai_summary":"从理论到实践，全面涵盖检索增强生成（RAG）技术的开发和应用。","readme_excerpt":"# All-in-RAG | 大模型应用开发实战一：RAG技术全栈指南\n\n<div align='center'>\n  <img src=\"./docs/logo.svg\" alt=\"All-in-RAG Logo\" width=\"70%\">\n</div>\n\n<div align=\"center\">\n  <h2>🔍 检索增强生成 (RAG) 技术全栈指南</h2>\n  <p><em>从理论到实践，从基础到进阶，构建你的RAG技术体系</em></p>\n</div>\n\n<div align=\"center\">\n  <img src=\"https://img.shields.io/github/stars/datawhalechina/all-in-rag?style=for-the-badge&logo=github&color=ff6b6b\" alt=\"GitHub stars\"/>\n  <img src=\"https://img.shields.io/github/forks/datawhalechina/all-in-rag?style=for-the-badge&logo=github&color=4ecdc4\" alt=\"GitHub forks\"/>\n  <img src=\"https://img.shields.io/badge/Python-3.12.7-blue?style=for-the-badge&logo=python&logoColor=white\" alt=\"Python\"/>\n  <a href=\"https://zread.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MUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff\" alt=\"zread\"/>\n  </a>\n</div>\n\n<div align=\"center\">\n  <a href=\"https://datawhalechina.github.io/all-in-rag/\">\n    <img src=\"https://img.shields.io/badge/📖_在线阅读-立即开始-success?style=for-the-badge&logoColor=white\" alt=\"在线阅读\"/>\n  </a>\n  <a href=\"README_en.md\">\n    <img src=\"https://img.shields.io/badge/🌍_English-Version-blue?style=for-the-badge&logoColor=white\" alt=\"English Version\"/>\n  </a>\n  <a href=\"https://github.com/datawhalechina\">\n    <img src=\"https://img.shields.io/badge/💬_讨论交流-加入我们-purple?style=for-the-badge&logoColor=white\" alt=\"讨论交流\"/>\n  </a>\n</div>\n\n<div align=\"center\">\n  <br>\n  <table>\n    <tr>\n      <td align=\"center\">🎯 <strong>系统化学习</strong><br>完整的RAG技术体系</td>\n      <td align=\"center\">🛠️ <strong>动手实践</strong><br>丰富的项目案例</td>\n      <td align=\"center\">🚀 <strong>生产就绪</strong><br>工程化最佳实践</td>\n      <td align=\"center\">📊 <strong>多模态支持</strong><br>文本+图像检索</td>\n    </tr>\n  </table>\n</div>\n\n## 项目简介（中文 | [English](README_en.md)）\n\n本项目是一个面向大模型应用开发者的RAG（检索增强生成）技术全栈教程，旨在通过体系化的学习路径和动手实践项目，帮助开发者掌握基于大语言模型的RAG应用开发技能，构建生产级的智能问答和知识检索系统。\n\n**主要内容包括：**\n\n1. **RAG技术基础**：深入浅出地介绍RAG的核心概念、技术原理和应用场景\n2. **数据处理全流程**：从数据加载、清洗到文本分块的完整数据准备流程\n3. **索引构建与优化**：向量嵌入、多模态嵌入、向量数据库构建及索引优化技术\n4. **检索技术进阶**：混合检索、查询构建、Text2SQL等高级检索技术\n5. **生成集成与评估**：格式化生成、系统评估与优化方法\n6. **项目实战**：从基础到进阶的完整RAG应用开发实践\n\n## 项目意义\n\n随着大语言模型的快速发展，RAG技术已成为构建智能问答系统、知识检索应用的核心技术。然而，现有的RAG教程往往零散且缺乏系统性，初学者难以形成完整的技术体系认知。\n\n本项目从实践出发，结合最新的RAG技术发展趋势，构建了一套完整的RAG学习体系，帮助开发者：\n- 系统掌握RAG技术的理论基础和实践技能\n- 理解RAG系统的完整架构和各组件的作用\n- 具备独立开发RAG应用的能力\n- 掌握RAG系统的评估和优化方法\n\n## 项目受众\n\n**本项目适合以下人群学习：**\n- 具备Python编程基础，对RAG技术感兴趣的开发者\n- 希望系统学习RAG技术的AI工程师\n- 想要构建智能问答系统的产品开发者\n- 对检索增强生成技术有学习需求的研究人员\n\n**前置要求：**\n- 掌握Python基础语法和常用库的使用\n- 能够简单使用docker\n- 了解基本的LLM概念（推荐但非必需）\n- 具备基础的Linux命令行操作能力\n\n## 项目亮点\n\n1. **体系化学习路径**：从基础概念到高级应用，构建完整的RAG技术学习体系\n2. **理论与实践并重**：每个章节","github_created_at":"2025-06-05T08:12:35+00:00","created_at":"2026-07-07T17:37:17.046189+00:00","updated_at":"2026-08-18T12:01:06.08759+00:00","categories":[{"slug":"data-retrieval","name":"Data & Retrieval","url":"https://www.graphcanon.com/categories/data-retrieval","markdown_url":"https://www.graphcanon.com/categories/data-retrieval.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/data-retrieval"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"ai","name":"ai"},{"slug":"embedding","name":"embedding"},{"slug":"langchain","name":"langchain"},{"slug":"llm","name":"llm"},{"slug":"milvus","name":"milvus"},{"slug":"multimodal","name":"multimodal"},{"slug":"neo4j","name":"neo4j"},{"slug":"python","name":"python"}],"trust":{"provenance":{"is_fork":false,"github_id":996626040,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-18T12:01:05.297Z","maintenance":{"label":"Active","score":82,"methodology":"github_public_v1","releases_90d":0,"days_since_push":20,"last_release_at":null,"stars_delta_30d":815,"open_issues_delta_30d":3},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:09:12.884Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-18T12:01:05.786Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-08-18T12:01:05.786Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["- When you want a comprehensive resource that covers both the theoretical foundations and practical application of RAG.","- If your project requires support for multi-modal embedding (text plus image retrieval).","- For developers interested in building production-level smart question answering and knowledge retrieval systems using large language models."],"when_not_to_use":["- Avoid if you are looking for a solution that only focuses on theoretical aspects without practical implementation guidance.","- If your project does not require multi-modal support or is solely focused on text-based applications, more specialized tools might provide better optimization.","- Not suitable if you're seeking quick prototyping or a light-weight framework; all-in-rag emphasizes comprehensive learning and production-ready practices."],"source":"enrich:decision_facts","observed_at":"2026-07-11T16:07:40.459Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"all-in-rag is a comprehensive guide for developers to learn about and implement RAG (Retrieval-Augmented Generation) technology, with a focus on end-to-end practical applications and multi-modal support. It provides an体系"}]}}