From d889cefd74e69098f1733e296c9e8345919fc4d3 Mon Sep 17 00:00:00 2001 From: 18688905432 Date: Tue, 10 Sep 2024 22:13:38 +0800 Subject: [PATCH 1/2] update .gitignore and remove leaking api key. --- .gitignore | 6 ++++++ file_paper_analysis.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 82f9275..30240a1 100644 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,9 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ + +# ignore .zip files +*.zip + +# ignore .DS_store which is mac system file +.DS_store diff --git a/file_paper_analysis.py b/file_paper_analysis.py index 4bd9700..bc63a0a 100644 --- a/file_paper_analysis.py +++ b/file_paper_analysis.py @@ -116,4 +116,4 @@ def main(api_key, file_path_or_folder, output_excel): if __name__ == "__main__": # API Key, 待解析文件路径, 输出文件路径 - main("0cd086fce44e6e97600730e6c537ea5b.6zsWw3PpQHAFrOye", "/home/czl/pythonProject/FileChat/analysis", "/home/czl/pythonProject/FileChat/analysis_result.xlsx") + main("API-key,place replace here...", "/home/czl/pythonProject/FileChat/analysis", "/home/czl/pythonProject/FileChat/analysis_result.xlsx") From a1c6049240824cafdc7e382392973d89adc1adcb Mon Sep 17 00:00:00 2001 From: 18688905432 Date: Tue, 10 Sep 2024 22:43:00 +0800 Subject: [PATCH 2/2] sync --- file_paper_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_paper_analysis.py b/file_paper_analysis.py index bc63a0a..900a83a 100644 --- a/file_paper_analysis.py +++ b/file_paper_analysis.py @@ -73,7 +73,7 @@ def main(api_key, file_path_or_folder, output_excel): "你是人工智能领域的专家,请对\n{file_content}\n的内容进行分析,只告诉我所使用数据集有哪些,其他内容不需要。", "你是人工智能领域的专家,请对\n{file_content}\n的内容进行分析,只告诉我评估方法的指标有哪些,其他内容不需要。", "你是人工智能领域的专家,请对\n{file_content}\n的内容进行分析,只告诉我实验的表现,其他内容不需要。", - "你是人工智能领域的专家,请对\n{file_content}\n的内容进行分析,总结论文所做的工作,包括动机、贡献点等,其他内容不需要。", + "你是人工智能领域的专家,请对\n{file_content}\n的内容进行分析,总结论文所做的工作,包括动机、贡献点,创新性等,其他内容不需要。", ] # 检查或创建 Excel 文件