feat: 初始化催收RAG评估系统并完成测试集精修
## 主要内容 ### 测试集版本演进 - v2.0: 初始版本(人工摘要式ground_truth) - v3.0: 基于FAQ原文的完整版本(自动匹配) - v3.1: LLM精修版本(去除不相关内容,保留最相关FAQ) ### 核心文件 - 测试集: data/test_sets/ragas_test_cases_v2.json, v3.1.json - FAQ数据: data/raw/faq_data.json (280条FAQ) - 各RAG系统验证结果: coze/kbs/zht/zhtv2的验证数据 ### 工具脚本 - tmp/generate_v3_ground_truth.py: v3.0生成脚本 - tmp/refine_with_llm.py: LLM精修脚本(使用Kimi-K2模型) - tmp/verify_ground_truth.py: ground_truth验证脚本 ### 文档 - CLAUDE.md: 项目说明和开发规范 - docs/LLM_REFINE_GUIDE.md: LLM精修使用指南 - requirements.txt: Python依赖列表 ### 配置 - .env.example: OpenAI API配置模板 - .gitignore: Git忽略规则 ## 改进效果 v3.1相比v3.0: - 平均每个用例从5个FAQ降低到1-2个最相关FAQ - 去除了"科创贷"、"催收话术"等不相关内容 - 保留了FAQ原文完整性,不做摘要或修改 - 使用LLM语义理解,准确选择相关内容 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
commit
f10d5492a1
17 files changed
+7688
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Skill(project-onboarding)",
|
||||
"Bash(tree:*)",
|
||||
"Bash(test:*)",
|
||||
"Bash(python:*)",
|
||||
"mcp__plugin_context7_context7__resolve-library-id",
|
||||
"mcp__plugin_context7_context7__query-docs",
|
||||
"Bash(git add:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user