Initial commit

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
hughhuang(黄健铭)andClaude Sonnet 4.5 committed 2026-01-16 16:01:39 +08:00
commit 4ecf7b351d
143 files changed
+24156

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
# RAG Evaluation Framework Configuration
llm:
generator_model: "claude-3-sonnet-20240229"
evaluator_model: "gpt-4"
temperature: 0.7
max_tokens: 2000
database:
host: "localhost"
port: 3306
database: "rag_evaluation"
user: "root"
password: ""
charset: "utf8mb4"
pool_size: 10
max_overflow: 20
testset:
default_size: 15
question_distribution:
simple: 0.4
reasoning: 0.4
multi_context: 0.2
sampling_strategy:
small_file_threshold_mb: 1.0
medium_file_threshold_mb: 10.0
small_file_sampling_rate: 1.0
medium_file_sampling_rate: 0.4
large_file_sampling_rate: 0.15
evaluation:
parallel_workers: 5
timeout_seconds: 300
retry_attempts: 3
cache_enabled: true
metrics:
context_recall_threshold: 0.7
context_precision_threshold: 0.7
faithfulness_threshold: 0.8
answer_relevancy_threshold: 0.7
correctness_threshold: 0.7
storage:
testset_dir: "./data/testsets"
report_dir: "./data/reports"
cache_dir: "./data/cache"