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:
hughhuang(黄健铭)andClaude Sonnet 4.5 committed 2026-01-07 20:34:14 +08:00
commit f10d5492a1
17 files changed
+7688

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# RAG评估系统依赖
# 安装命令: pip install -r requirements.txt
# 数据处理
pandas>=2.0.0
numpy>=1.24.0
openpyxl>=3.1.0
# LLM客户端
openai>=1.0.0
# RAG评估框架
ragas>=0.1.0
# 可视化(可选)
matplotlib>=3.7.0
plotly>=5.18.0
# 工具
python-dotenv>=1.0.0
# 测试
pytest>=7.4.0