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
1954573b
Unverified
Commit
1954573b
authored
Jan 15, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jan 15, 2025
Browse files
Merge pull request #1543 from myhloli/dev
docs(magic_pdf): update llm_aided.py prompt for title list optimization
parents
e139e5bd
916ced9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
magic_pdf/post_proc/llm_aided.py
magic_pdf/post_proc/llm_aided.py
+3
-1
No files found.
magic_pdf/post_proc/llm_aided.py
View file @
1954573b
...
...
@@ -116,7 +116,9 @@ def llm_aided_title(pdf_info_dict, title_aided_config):
- 优化后的标题只保留代表该标题的层级的整数,不要保留其他信息
IMPORTANT:
请直接返回优化过的由标题层级组成的json,返回的json不需要格式化。
请直接返回优化过的由标题层级组成的json,格式如下:
{{"0":1,"1":2,"2":2,"3":3}}
返回的json不需要格式化。
Input title list:
{
title_dict
}
...
...
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