更新注释

This commit is contained in:
qingxu fu
2023-04-13 11:18:44 +08:00
parent 74f26a7d64
commit 1c6c29e6dd
2 changed files with 2 additions and 1 deletions

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