更新注释

This commit is contained in:
qingxu fu
2023-04-13 11:18:44 +08:00
parent 8ac9b454e3
commit 98724cd395
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ def 解析PDF(file_name, llm_kwargs, plugin_kwargs, chatbot, history, system_pro
print('begin analysis on:', file_name)
file_content, page_one = read_and_clean_pdf_text(file_name)
############################## <第零步,从摘要中提取高价值信息,放到history中> ##################################
# 递归地切割PDF文件,每一块(尽量是完整的一个section,比如introductionexperiment等,必要时再进行切割)
# 的长度必须小于 2500 个 Token
TOKEN_LIMIT_PER_FRAGMENT = 2500