Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
9e332f06
You need to sign in or sign up before continuing.
Commit
9e332f06
authored
Feb 24, 2025
by
myhloli
Browse files
fix(llm_aided): update prompt
parent
90a27ecd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/post_proc/llm_aided.py
magic_pdf/post_proc/llm_aided.py
+1
-1
No files found.
magic_pdf/post_proc/llm_aided.py
View file @
9e332f06
...
...
@@ -120,7 +120,7 @@ def llm_aided_title(pdf_info_dict, title_aided_config):
- 在完成初步分级后,仔细检查分级结果的合理性
- 根据上下文关系和逻辑顺序,对不合理的分级进行微调
- 确保最终的分级结果符合文档的实际结构和逻辑
- 字典中
包含OCR错误识别的标题
,你可以通过将其层级标记为 0 来排除它们
- 字典中
可能包含被误当成标题的正文
,你可以通过将其层级标记为 0 来排除它们
IMPORTANT:
请直接返回优化过的由标题层级组成的字典,格式为{{标题id:标题层级}},如下:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment