Files
CodeKnowledgeBuild/README.md
2026-02-04 14:50:49 +08:00

12 lines
495 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CodeKnowledgeBuild
步骤1构建项目级的代码知识库
替换Knowledge_Build文件中的QWEN_API_KEY和PROJECT_ROOT字段后可以直接对C语言项目文件夹进行知识库的构建
运行后于项目目录下生成.faiss格式的知识库文件和.json格式的元数据文件
步骤2进行简单的RAG增强生成检查代码知识库的完整程度
生成知识库后更改Code_RAG文件中的知识库和元数据路径字段可以进行简单的需求-实现RAG对照