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

+53
View File
@@ -0,0 +1,53 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Virtual Environment
venv/
env/
ENV/
.venv
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# Environment variables
.env
# OS
.DS_Store
Thumbs.db
# Project specific
*.xlsx
!data/raw/*.xlsx # 保留原始FAQ文件
# Temporary files
tmp/
*.log
# Claude Code
.claude/plugins/
.claude/local/