Skip to content

Commit a732467

Browse files
committed
1
1 parent 1ca8123 commit a732467

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

config.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
"""全局配置文件"""# LLM配置,用于修正抽取工具的抽取结果LLM_CONFIG = { 'llm_base_url': '', 'llm_api_key': '', 'llm_model': 'deepseek-chat', 'use_llm': True}
1+
"""
2+
全局配置文件
3+
"""
4+
5+
# LLM配置,用于修正抽取工具的抽取结果
6+
LLM_CONFIG = {
7+
'llm_base_url': '',
8+
'llm_api_key': '',
9+
'llm_model': 'deepseek-chat',
10+
'use_llm': True
11+
}

examples/multi_extractor_compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def all_extractor_comparison():
2929
# 运行对比
3030
evaluator = Evaluator()
3131
extractors = [webkit_extractor, magic_extractor, trafilatura_extractor, resiliparse_extractor]
32-
extractors = [webkit_extractor]
32+
# extractors = [webkit_extractor]
3333

3434

3535
results = evaluator.compare_extractors(

0 commit comments

Comments
 (0)