Essay Bulldozer 是一个基于大语言模型的论文分析工具,可以帮助研究人员快速理解和提取论文中的关键信息。该工具可以自动分析论文的不同部分(如摘要、引言、方法等),并生成结构化的分析报告。
- 克隆仓库
- 安装依赖requirements.txt
- 在config文件夹中创建配置文件
config.yaml
- 按照一下模板进行配置,填写待填写内容
openai:
api_key: "待填写"
api_base: "待填写"
model: "待填写"
temperature: 0.7
# max_tokens: 2000
headers:
# "Authorization": "Bearer your-api-key"
# "Custom-Header": "value"
debug:
enabled: false # 是否开启debug模式
log_dir: "debug_logs" # debug日志保存目录
papers:
# 可以是单个论文路径或论文路径列表
paths:
- "待填写"
# - "path/to/another/paper.pdf"
analysis:
# 通用prompt,会添加到每次调用的开头
common_prompt: |
注意latex格式的公式和变量用$包裹,例如:$E=mc^2$。
请确保输出格式规范,使用markdown格式。
请用中文回答。
sections:
- abstract
- introduction
- methodology
- results
- conclusion
prompts:
abstract:
text: "请从论文中提取摘要部分的内容,包括研究目的、方法和主要结论。"
input_type: "full_text" # 使用完整PDF文本
introduction:
text: "请从论文中提取引言/介绍部分的内容,包括研究背景、问题陈述和研究目标。"
input_type: "full_text"
methodology:
text: "基于上述介绍,请详细说明该研究的方法、实验设计和技术细节。"
input_type: "full_text" # 使用上一个section的输出
methodology_figure:
text: "根据总结的方法,用mermaid语法绘制方法的框架图或流程图。"
input_type: "previous"
results:
text: "基于上述方法,请说明实验结果、数据分析和关键发现。"
input_type: "full_text"
conclusion:
text: "基于以上分析,请总结主要结论、研究贡献和未来展望。"
input_type: "full_text"
summary:
text: "请总结这篇论文的主要内容,包括研究目的、方法和结论。"
input_type: "full_text"
- 运行分析脚本:
python examples/run_analysis.py
- 运行结果会保存在
output
文件夹中